with comments

This commit is contained in:
George Palmer 2026-03-08 19:58:37 +02:00
parent ed41c31b55
commit 5ef3dec964

View file

@ -1,3 +1,4 @@
name = input("Enter your name: ") # This program greets the user with their name and age
age = input("Enter your age: ") name = input("Enter your name: ") # Ask for the user's name
print("Hello World", name, "you are", age, "years old") age = input("Enter your age: ") # Ask for the user's age
print("Hello World", name, "you are", age, "years old") # Display the greeting with name and age