My issue
for input 32 if we divide 32/11 we get 10 if we multiply 10 *3=30 so no of incorrect answer is 2 but you given as answer 1.how
My code
# Update the program below to solve the problem
t = int(input())
for i in range(t):
X = int(input())
if X%3== 0:
print('Number of questions incorrctly solved is 0')
elif (X+1)/3 == 0:
print('Number of questions incorrctly solved is 1')
else:
print('Number of questions incorrctly solved is 2')
Learning course: Python with Data structures
Problem Link: Practice Problem in - CodeChef