great_user

Function to greet the user

def greet_user(name): print(f"Hello, {name}! Welcome to the Python world.")

Ask the user for their name

user_name = input("Please enter your name: ")

Greet the user

greet_user(user_name)