Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 4

4 bytes added, 22:25, 11 February 2018
PART 1 - Strings and Substrings
::*The script should contain no errors
:::'''Sample Run 1:'''<source>
./run lab4b.py
list1: [1, 2, 3, 4, 5, 6, 7, 8, 9]
list2: [5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
:::*The script should contain no errors
::::'''Sample Run 1:'''<source>
./run lab4c.py
York: {'Country': 'Canada', 'Postal Code': 'M3J3M6', 'Address': '70 The Pond Rd', 'Province': 'ON', 'City': 'Toronto'}
Shared Values {'Canada', 'ON', 'Toronto'}