Source Code:
(back to article)
# Floating-point addition print(1.0 + 2.0) # Floating-point subtraction print(3.0 - 1.0) # Floating-point multiplication print(2.0 * 3.0) # Floating-point division print(6.0 / 2.0)
Result:
Report an issue