- 3

Please can anybody help me?

Tom has done pull ups every day and recorded his results. He recorded each day's results in a new line, so that each line represents each day he has done pull ups. Create a program that takes n number as input and outputs the n-th days result (starting from 0).

12th Apr 2022, 6:33 AM
Mihai Turlea
2 Answers
+ 4
We cannot help... unless you tag the relevant programming language, state the lesson and the sololearn course name and show what you have tried so far
12th Apr 2022, 6:43 AM
Lisa - avatar
+ 2
Mihai Turlea , this is the code that is given from sololearn: (python core tutorial exercise 47.2) file = open("/usercode/files/pull_ups.txt") n = int(input()) #your code goes here file.close() >>> so please use this code and complete it. if you get stuck link your code here. thanks!
12th Apr 2022, 6:12 PM
Lothar - avatar