Python Tutorial Part 5: Reading input from the keyboard, data conversion, and arithmetic
Автор: Professor Hank Stalica
Загружено: 2017-03-04
Просмотров: 645
In part five of this series, we talk about getting input from the user, how to convert it to numbers, and then perform basic arithmetic operations on it.
Functions discussed :
input() : prompts the user, reads and returns the response as a string
int() : converts user input from a string to a whole number
float() : converts user input from a string to a floating point number
Arithmetic operators :
- addition
- subtraction
- multiplication
/ - division
** - exponentiation
Python Tutorial Playlist : https://www.youtube.com/playlist?list...
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: