Given any circle, if you divide the circumference of that circle with its diameter, you would always…

Click here to read the complete problem statement.

If you need help solving this problem, mention your approach and ask specific questions. Please avoid sharing your code and asking the Community to figure out “what’s wrong”.

def multi_input(num):
l = []
for i in range(num):
u = int(input())
l.append(u)
return l
pi2 = list(str(14159265358979))
a = int(input())
n = multi_input(a)
for i in n:
ii = i - 1
print(int(pi2[ii]))

@abdullahibn200 You have to print one output at a time. For example, after getting first input print the result 1. Then take the second input and print the result 4. New solvers often get into this situation.