Floating-Point Numbers and Arithmetic Expressions
Floating-point numbers A floating-point number is a number with a decimal. Ex: 3.14, or -123.5. float is a data type for floating-point numbers. A floating-point literal is the number being used in your python code. Ex: weight = 145.2 Use scientific notation for huge numbers such as 1.87x1045. Ex: 1.87e45. The e stands for exponent. The value range for...
0 Commentarii 0 Distribuiri 2K Views 0 previzualizare