Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 2

64 bytes added, 19:27, 25 May 2017
PART 2 - Arguments
run lab2c.py Jen 25
Hi Jen, you are 25 years old.
</source>This final sample <br>Note that running '''Sample run 3''' (shown below) will give us a result in an error. This is important to see this, as we will fix it in the next sectionmessage. This error happens if you run the script without any arguments. Since we still try It is important to use them. Lets move forward and leave note that an error such as this can occur, so you can avoid this type of error, until we have when creating Python scripts (explained in the right tools to fix itnext section). Let's continue in this section for now...
:::'''Sample run 3:'''<source>
run lab2c.py
13,420
edits