13,420
edits
Changes
→PART 1 - User Input
''' Practice Storing User Input '''
:#Now it's time to create a new scriptto prompt the user to enter data and display that data on their terminal. :'''Perform the following Instructions:''' :# Make a copy of '''lab2a.py''' and call it '''lab2b.py'''. Now modify :# Modify '''lab2b.py''' so that it asks prompts the user for both the value of user's '''name ''' and the value of '''age'''. Use the '''input() ''' function and store the values in the correct variablesvariable names (displayed below). Example output is shown You can refer to Sample Runs displayed further below:for reference.
::*The script should have a Shebang line