Skip to content

Commit 9504b2a

Browse files
author
Enrico La Sala
committed
Aggiunta esempi2
1 parent d08ff2f commit 9504b2a

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

lezione1/python/esempio2.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
print("Quanti anni hai?")
2+
3+
# "Prendo" la risposta attraverso un azione di ingresso input() e la memorizzo come stringa
4+
risposta = str(input())
5+
6+
print("Hai " + risposta + " anni")

lezione1/scratch/esempio2.sb3

41.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)