- 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).
2 Antworten
+ 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
+ 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!