11.1.1.5 organize keyboard inputs; Python. Input data Подписаться на канал "Программирование на Python" The input() function allows the user to enter a value into the program. input() always returns a string value.
When input() is executed, the program will stop and wait for user input. After entering data, the user should press Enter.
If you want to get an integer, then use the data type conversion functions. For example, Task 1. Write a simple program to add two integers a and b. Variant 1
Variant 2
Variant 3
Questions:
Exercises: Ex. 1 Заполни пропуски в программе.
Tasks Tasks on Stepik.org course "Python Programming for NIS"
| |
| |
Просмотров: 5440 | | |
Всего комментариев: 0 | |