From 6c2871e27a913376a1f68397c098ee8fd28a1bae Mon Sep 17 00:00:00 2001 From: marion Date: Fri, 11 Sep 2026 12:56:26 -0500 Subject: [PATCH] my first program --- hello.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hello.py b/hello.py index 3957ed2..dac941a 100644 --- a/hello.py +++ b/hello.py @@ -4,11 +4,11 @@ print("Hello!") -name = input("What is your name? ") -print("Nice to meet you, " + name) +name = input("What is your name? marion ") +print("Nice to meet you,marion " + 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) +print("Next year you will be 13", age + 1) \ No newline at end of file