Created
April 26, 2020 12:19
-
-
Save abhi923/6d917f83473f23a280ce4ce0a3038f3e to your computer and use it in GitHub Desktop.
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
# input a float value for variable a here | |
a = float(input("Value of a: ")) | |
# input a float value for variable b here | |
b = float(input('Value of B: ')) | |
# output the result of addition here | |
print ( 'a+b: ', a + b) | |
# output the result of subtraction here | |
print('a-b: ', a - b) | |
# output the result of multiplication here | |
print ('ab: ', a*b ) | |
# output the result of division here | |
print ('a/b: ', round(a/b, 2)) | |
print("\nThat's all, folks!") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment