Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- with open('pantadeusz.txt',encoding='ANSI') as file:
- lines = file.readlines()
- def PrintLine(x):
- if len(lines)> x:
- print(lines[x])
- PrintLine(8)
- PrintLine(12)
- PrintLine(60)
- PrintLine(98)
- PrintLine(104)
- print(len(lines))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement