0
Hi friends. Where am I wrong? Output must be: Day 1, 8 pulls ups
file = open("/usercode/files/pull_ups.txt") n = int(input()) print (file.readlines()) file.close()
2 ответов
0
.readlines() returns all the lines of text in a file as a list. Try indexing after that
0
How is that? 😳