A programming language needs to have support for numbers to carry out calculations. To do this in Python, the numbers are categorized into different data-types.
In this tutorial, you will look at how numbers work in Python, how to assign them to variables, and how to do basic operations using those variables.
Integer:
Zero, positive and negative whole numbers without a fractional part and having unlimited precision, e.g. 1234, 0, -456
Float:
Positive and negative real numbers with a fractional part denoted by the decimal symbol or the scientific notation using E or e, e.g. 1234.56, 3.142, -1.55, 0.23.
#PythonTutorial
#Python
In questa pagina del sito puoi guardare il video online Python Tutorial For Beginners 4 | Numbers della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Pranav anand 16 luglio 2020, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 96 volte e gli è piaciuto 5 spettatori. Buona visione!