diff --git a/esercizi/sum.py b/esercizi/sum.py new file mode 100644 index 0000000..e594b41 --- /dev/null +++ b/esercizi/sum.py @@ -0,0 +1,17 @@ + +# Write a program that takes as input two numbers and print the sum. + + # Output: + #Insert the first number: 1 + #Insert the second number: 2 + #Sum: 3 + + +x = input("insert the first number:") +y = input("insert the second number:") + +sum = int(x) + int(y) + +print("The sum is: ", sum) + +