We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5475f01 + 09c45ac commit fbf1833Copy full SHA for fbf1833
Add two numbers.py
@@ -1,4 +1,3 @@
1
-
2
# User pick two numbers to sum
3
4
num1 = float(input("Number 1:"))
@@ -8,4 +7,4 @@
8
7
sum = num1 + num2
9
10
# Display the sum
11
-print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))
+print("The sum of {0} and {1} is {2}".format(num1, num2, sum))
0 commit comments