Jump to: navigation, search

OPS435 Python Lab 1

1 byte removed, 17:39, 15 May 2017
Part 1 - Printing
During this investigation we will start writing our very first python scripts. These will be very basic and help us practice syntax and foundational skills, such as: outputing text to the screen, storing data inside variables, and using math operators.
=== Part PART 1 - Printing PRINTING ===
Lets start IPython interpreter and start writing some python code.
This time we should now see that the python function "print()" has outputted to the screen the words 'hello world'. In python a word or a bunch of characters like 'hello world' is called a 'string'. So what we did above is, passed a '''string''' as a '''argument''' to the print '''function'''. These words are important for understanding and talking about different aspects of code.
=== Part 2 - Hello World ===

Navigation menu