Skip to content

User_input.py #132

Description

@Kvinalpha

Ask the user for their name

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

Ask the user for their age

age = input("Please enter your age: ")

Ask the user for their location

location = input("Please enter your location: ")

Print a personalized message

print(f"Hello {name}, you are {age} years old and live in {location}.")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions