For what range of inputs, do we need to find the output value ? plz help (KS2)

my code: CodeChef: Practical coding for everyone
question: KS2 Problem - CodeChef
is it possible to solve this problem in python?

Apparently :slight_smile:

1 Like

what should be range in my code so that it does not cause TLE?