From 679e2d9102bc5949f5b1ff3c583a857df279fabf Mon Sep 17 00:00:00 2001 From: Giovanni Pinelli Date: Mon, 30 Oct 2023 17:57:59 +0100 Subject: [PATCH] feat: somma completed --- exercises/somma.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 exercises/somma.py diff --git a/exercises/somma.py b/exercises/somma.py new file mode 100644 index 0000000..b1ef3bb --- /dev/null +++ b/exercises/somma.py @@ -0,0 +1,16 @@ +"""""""""""""""" + 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 + +""""""""""""""" + +a = input("inserisci il primo numero: ") +b = input("Inserisci il secondo numero: ") + +sum = int(a) + int(b) + +print("La somma รจ", sum) \ No newline at end of file