Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions projects/001-area-of-a-room/python/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
length = float (input('Inserisci la lunghezza della stanza in metri: '))
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

errato = float (input
corretto = float(input

errato = print (
corretto = print(


width = float (input('Inserisci la larghezza della stanza in metri: '))

area = length * width

print ("l'area della stanza è:", area,"metri quadrati")