Simple Python greeting script

A basic Python program that prompts the user for their name and age, then prints a greeting using the provided input.
Anonymous
python
08/14/2026 12:19 PM
192 B
0
Indexable
# Simple Python Program

name = input("Enter your name: ")
age = int(input("Enter your age: "))

print("Hello", name)
print("Your age is", age)
Editor is loading...
Leave a Comment