Created
July 13, 2021 05:37
-
-
Save codewithpom/bae3f237a8654c6f7bf8f2884bd2c5c3 to your computer and use it in GitHub Desktop.
Learn Calculations in python.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Adding Division Started | |
# add integers | |
print(34 + 67) | |
# add float | |
print(34.5 + 67.5) | |
# add integer with float | |
print(3 + 4.5) | |
# Adding Division Finished | |
# Subtract Division Started | |
# subtract integers | |
print(34 - 67) | |
# subtract float | |
print(34.5 - 67.5) | |
# subtract with float | |
print(3 - 4.5) | |
# Subtract Division Finished | |
# Multiply Division Started | |
# multiply integers | |
print(34 * 67) | |
# multiply float | |
print(34.5 * 67.5) | |
# multiply integer with float | |
print(3 * 4.5) | |
# Multiply Division Finished | |
# Divide Division Started | |
# divide integers | |
print(34 / 67) | |
# divide float | |
print(34.5 / 67.5) | |
# divide with float | |
print(3 / 4.5) | |
# Divide Division Finished |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment