Open main menu

CDOT Wiki β

Changes

OPS435 Python3 Lab 2

No change in size, 14:27, 24 January 2020
m
LAB REVIEW
:# Write a short Python script to ask the user to provide their shoe size at the keyboard, and store the result in an integer object called '''shoeSize'''.
:# Add codes to the previous Python script to display the shoe size entered using the same integer object created. (For example: '''Your size shoe size is: 16''').
:# What is the purpose of importing special module from your system?
:# Write a short Python script to display two arguments from running your Python script.<br>For example if your Python script was called '''myscript.py''' and you issued the command:<br>'''python myscript.py happy afternoon''', you would get the following output:<br><br>The first argument is: happy<br>The second argument is afternoon<br><br>
14
edits