Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 4

71 bytes added, 13:19, 4 September 2017
PART 1 - Tuples
:'''Perform the Following Steps:'''
:#Launch your Centos VM, open a shell terminal (as a regular user) and start a new ipython3 shellsession:<source>
ipython3
</source>Let's create two tuples, so we can learn how to use them and learn how they differ from lists.<br><br>Note: '''tuples are defined by using parenthesis ( )''' as opposed to '''lists are defined by using square brackets [ ]'''<br><br>