Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 1

52 bytes added, 08:20, 16 May 2017
Printing Text
'''Perform the following steps:'''
<prestyle="margin-left:25px;">
ipython3
%cd ~/ops435/lab1
:::Our first python code we will write is the print function. A function is code that has been defined in another location. Functions can take arguments, use these arguments in some way, and then usually return a result. The first function we will use is the "print()" functions, it's sole purpose is to output information to the screen.
<prestyle="margin-left:25px;">
print()
</pre>
13,420
edits