my first program
This commit is contained in:
parent
aa1d89e3ab
commit
4217c8844c
1 changed files with 3 additions and 0 deletions
3
hello.py
3
hello.py
|
|
@ -12,3 +12,6 @@ print("Nice to meet you, " + name)
|
|||
# Wrapping it in int() turns that text into a number.
|
||||
age = int(input("How old are you? "))
|
||||
print("Next year you will be", age + 1)
|
||||
color = input("whats your favorite color")
|
||||
print("my favorite color is " + color)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue