i am getting nzec for the following code.. plzzz helpimport systake=io.readline()num=int(tak)count=0if num==1: print("NIE") count=1if num==0: count=0
while num>1:
if num%2!=0: print("NIE") count=1 break else : n=n/2if count==0: print("TAK")
Indentation is wrong.
sir, the indentation is correct. I checked it. I just couldnt replicate the indentation in my post...plz help.. i am getting nzec in almost all problems i solve by python
Then you should start learning how to do that.