We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents afd3fbf + af7aa06 commit c673ab1Copy full SHA for c673ab1
Add two numbers
@@ -1,8 +1,8 @@
1
2
-# This program adds two numbers
+# User pick two numbers to sum
3
4
-num1 = 1.5
5
-num2 = 6.3
+num1 = float(input("Number 1:"))
+num2 = float(input("Number 2:"))
6
7
# Add two numbers
8
sum = num1 + num2
0 commit comments