Numbers


link - docs.python.org/3/library/numeric.html 
link - docs.python.org/3/library/math.html#module-math
link - docs.python.org/3/library/cmath.html#module-cmath


1.0 is a float
anything with a decimal point is considered a float


Modules

math -
cmath



num1 = 5 
num2 = 10
sum = num1 + num2
print(sum)


any time there is at least one float in an expression, the result is float






© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited TopNext