Python Tutorial Part 5: Reading input from the keyboard, data conversion, and arithmetic

Veröffentlicht am: 04 März 2017
auf dem Kanal: Professor Hank Stalica
678
15

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...


Auf dieser Seite können Sie das Online-Video Python Tutorial Part 5: Reading input from the keyboard, data conversion, and arithmetic mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Professor Hank Stalica 04 März 2017 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 678 Mal angesehen und es wurde von 15 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!