Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 5

18 bytes added, 07:18, 5 September 2017
Create a Python Script Demonstrating Reading Files
:::*The script should contain no errors
::::'''Sample Run 1:'''<codesource lang="python">
python3 lab5a.py
Hello World
Last line
['Hello World', 'This is the second line', 'Third line', 'Last line']
</codesource>
::::'''Sample Run 2 (with import):'''<source lang="python">
13,420
edits