Skip to content

Doneddie/Intro-to-Python-Assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Intro-to-Python-Assignment

To learn how to take user input in Python

Write a program that asks the user for their name, age, and location and then prints out a personalized message.

Instructions:

Create a new Python file and name it "user_input.py" Use the input() function to ask the user for their name and store it in a variable called "name". Use the input() function to ask the user for their age and store it in a variable called "age". Use the input() function to ask the user for their location and store it in a variable called "location". Print out a personalized message using the user's name, age, and location. For example: "Hello [name], you are [age] years old and live in [location]." Save and run the program to see the output.

About

To learn how to take user input in Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages