Skip to content

RotichBuilds/plp_Python_Introduction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

plp_Python_Introduction

Objective: 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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published