diff --git a/hello.py b/hello.py index 3957ed2..ea215e8 100644 --- a/hello.py +++ b/hello.py @@ -8,7 +8,16 @@ name = input("What is your name? ") print("Nice to meet you, " + name) # int(input(...)) is one thing, not two. input() always hands back text, -# even when someone types a number, and you cannot do maths with text. -# 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) +# even when someone types a number, and you cannot do maths with text + +color = input("what is your favorite color? ") +print("My favorite color is " + color) + + + + + + + + +