Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
f = open("demofile.txt", "r") print(f.readlines())
['Hello! Welcome to demofile.txt\n', 'This file is for testing purposes.\n', 'Good Luck!']