Skip to content

Instantly share code, notes, and snippets.

@IndhumathyChelliah
Created Jul 23, 2020
Embed
What would you like to do?
with open("colors.txt",'r')as f:
print (f.readline())#Output:red
print(f.readline())#Output:blue
print(f.readline())#Output:green
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment