Changes

Jump to: navigation, search

OPS435 Python Lab 1

4 bytes added, 07:53, 17 May 2017
PART 5 - MATH OPERATORS
Next, we will make our first script with the above function. Open a new text file called "lab1a.py".
:'''Perform the following steps:'''
:# Edit the following file:<source>
==== String Variables ====
:'''Perform the following steps:'''
:#First, let's make a new variable containing a value by issuing the following command:<source>
Lets enter into IPython to test out variables.
:'''Perform the following steps:'''
:#Enter the following command to access the python prompt:<source>
Python has a number of math operators you can use in your programs.
:'''Perform the following steps:''' 
:# Issue the following commands to see how they operate in the ipython shell:<source>
10 + 5 # addition
<li style="margin-left:25px;">Make notes for observations in your lab log book, and proceed to Lab 1 Instructor Sign-off.</li>
</ol>
 
= LAB 1 SIGN-OFF (SHOW INSTRUCTOR) =
13,420
edits

Navigation menu