Need help on PERFCONT practice


#1

Hello,

May anyone help explaining why my code for this practice is failed ? And please suggest correction as well. Plz click here for the script because posting it below cannot displayed the indentation.

Thank all.


#2

You have to divide p only by 10 and 2 on the right side and on the left side will be number of correct submissions for that problem i.e. n[i], line 11 and 13

n[i] <= p//10
n[i] >= p//2

instead of

p//n[i] <= p//10
p//n[i] >= p//2


#3

thanks for your advice :slight_smile: