[Python #2] create e11.py
This commit is contained in:
parent
63052676fc
commit
65f0d43cfa
|
@ -0,0 +1,8 @@
|
||||||
|
print("How old are you?", end=' ')
|
||||||
|
age = input()
|
||||||
|
print("How tall are you?", end=' ')
|
||||||
|
height = input()
|
||||||
|
print("How much do you weight?", end=' ')
|
||||||
|
weight = input()
|
||||||
|
|
||||||
|
print(f"So, you're {age} old, {height} tall and {weight} heavy.")
|
|
@ -73,3 +73,6 @@ learn about a more complicated formatting of a string. {}
|
||||||
how to print for multiline or nextline
|
how to print for multiline or nextline
|
||||||
**** ex10
|
**** ex10
|
||||||
how to use \ (using special chracter)
|
how to use \ (using special chracter)
|
||||||
|
**** ex11
|
||||||
|
how to use key input
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue