From 1732455c893d26b383a3d3e3b8fb87d22efd6a5f Mon Sep 17 00:00:00 2001 From: isabel Date: Fri, 11 Sep 2026 12:56:25 -0500 Subject: [PATCH] my first program --- hello.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/hello.py b/hello.py index 3957ed2..a396811 100644 --- a/hello.py +++ b/hello.py @@ -4,7 +4,7 @@ print("Hello!") -name = input("What is your name? ") +name =("What is your name? ") print("Nice to meet you, " + name) # int(input(...)) is one thing, not two. input() always hands back text, @@ -12,3 +12,7 @@ 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("what is your favorite color") +print("My favorite color is " + color) +food= input("what is your favorite food") +print("my favrit food is "+food) \ No newline at end of file