Posts

Showing posts with the label If n greater than 10 then increment 5 else increment by1in python

If n greater than 10 then increment 5 else increment by1in python

 If n greater than 10 then increment 5 else increment by1in python      n=int(input())      if(n>10):          n+=5      else:          n+=1           print(n)