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

Pubblicato il: 04 marzo 2017
sul canale di: 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...


In questa pagina del sito puoi guardare il video online Python Tutorial Part 5: Reading input from the keyboard, data conversion, and arithmetic della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Professor Hank Stalica 04 marzo 2017, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 678 volte e gli è piaciuto 15 spettatori. Buona visione!