Changes

Jump to: navigation, search

OPS435 Python Lab 1

41 bytes added, 09:13, 16 May 2017
no edit summary
print('The sum is: ' + str(sum))
</source><br>What did you notice this time?<br>
 
=== Part 4 - Evaluation ===
 
:#To gain practice, create a python script (called lab1c.py) with the following content and details:
 
 
:::* The script should have a Shebang line.
:::* The script should have a variable called '''name'''
:::* The value of the '''age''' variable should be '''72'''
:::* The script, when executed, should print out "Isaac is 72 years old!"
 
:::Example run: <source>
%cd ~/ops435/lab1/
</source>
:#Before moving on to the next step make sure you identify any and all errors in "lab1a.py". When the check script tells you everything is "ok", you may procede to the next step.
:#Make notes for observations in your lab log book, and proceed to part 2.
=== PART 5 - MATH OPERATORS ===
13,420
edits

Navigation menu