We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca2b3b6 commit 6d19080Copy full SHA for 6d19080
ex11.py
@@ -0,0 +1,8 @@
1
+print("How old are you?", end=' ')
2
+age = input()
3
+print("How tall are you?", end=' ')
4
+height = input()
5
+print("How much do you weigh?", end=' ')
6
+weight = input()
7
+
8
+print(f"So, you're {age} old, {height} tall and {weight} heavy.")
ex11drill.py
@@ -0,0 +1,12 @@
+print("What do you like?", end='')
+likes = input()
+print("Where do you live?", end=' ')
+lives = input()
+print("What kind of computer do you have?", end=' ')
+computer = input()
+print(f"""
9
+Alright, so you said {likes} about liking me.
10
+You live in {lives}. Not sure where that is.
11
+And you have a {computer} computer. Nice.
12
+""")
0 commit comments