Created
February 25, 2022 09:39
-
-
Save shivam-gupta007/35c0b3864ed711111ef831a5eb76a95e to your computer and use it in GitHub Desktop.
Python-assignment
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
a = float(input("Enter num1: ")) | |
b = float(input("Enter num2: ")) | |
print(a," + ", b, " = " , (a+b)) | |
# Output - | |
# Enter num1: 10.5 | |
# Enter num2: 20.5 | |
# 10.5 + 20.5 = 31.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment