Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 1

579 bytes added, 09:34, 7 January 2019
INVESTIGATION 3: WRITING PYTHON SCRIPTS
:In this investigation we will start writing our very first python scripts. These will be very basic and help us practice syntax and foundation skills, such as: outputting text to the screen, storing data inside objects, and using math operators.
 
<blockquote style="margin-left:35px;">{{Admon/important|style="padding-left:25px"|Object and Variable|The terms '''object''' and '''variable''' are used to refer to a data item in computer programming. The term '''variable''' are mostly used in 3rd generation programming and scripting languages (bash) while the term '''object''' is preferred in object oriented programming/scripting language like Python. In the context of Python programming/scripting, When you see the term '''variable''' in the lab instructions, it can be replaced by the term '''object'''.}}</blockquote>
 
=== PART 1 - Common Introductory Python Functions ===
1,760
edits