You are viewing a single comment's thread. Return to all comments →
In Python :
t=int(input()) b=3 summ=4 if t>3: while summ<=t: a=summ b=b*2 summ=a+b print(summ-t) else: print(4-t)
Strange Counter
You are viewing a single comment's thread. Return to all comments →
In Python :