Get your
own Python
server
×
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!']