Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 5

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