Learning Circle : python #2 - ex11, ex12
This commit is contained in:
parent
64bc3ef9f2
commit
c0b8006422
|
@ -0,0 +1,12 @@
|
||||||
|
#print("How old are you?", end=' ')
|
||||||
|
#age = input()
|
||||||
|
#print("How tall are you?", end=' ')
|
||||||
|
#height = input()
|
||||||
|
#print("How much do you weigh?", end=' ')
|
||||||
|
#weight = input()
|
||||||
|
|
||||||
|
age = input("How old are you?" ' ')
|
||||||
|
height = input("How tall are you?" ' ')
|
||||||
|
weight = input("How much do you weigh?" ' ')
|
||||||
|
|
||||||
|
print(f"So, you're {age} old, {height} tall and {weight} heavy.")
|
|
@ -0,0 +1,5 @@
|
||||||
|
age = input("How old are you? ")
|
||||||
|
height = input("How tall are you? ")
|
||||||
|
weight = input("How much do you weigh? ")
|
||||||
|
|
||||||
|
print(f"So, you're {age} old, {height} tall and {weight} heavy.")
|
|
@ -5,7 +5,12 @@
|
||||||
- ex9.py
|
- ex9.py
|
||||||
- none
|
- none
|
||||||
- ex10.py
|
- ex10.py
|
||||||
-
|
- none
|
||||||
|
- ex11.py
|
||||||
|
- none
|
||||||
|
- ex12.py
|
||||||
|
- pydoc input
|
||||||
|
- describe input on python. It looks like man commnad on linux shell.
|
||||||
|
|
||||||
* 2020-05-18
|
* 2020-05-18
|
||||||
** note
|
** note
|
||||||
|
|
Loading…
Reference in New Issue