Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 2

2 bytes removed, 01:25, 25 May 2017
Practice - Storing User Input
:#Before proceeding, make certain that you identify any and all errors in "lab2a.py". When the check script tells you everything is "ok", you may procede to the next step.
=== ''' Practice - Storing User Input ==='''
:Now it's time to create a new script. Make a copy of '''lab2a.py''' and call it '''lab2b.py'''. Now modify '''lab2b.py''' so that it asks the user for both the value of name and the value of age. Use the input() function and store the values in the correct variables. Example output is shown below:
198
edits