Write a program to increment N by 5, if N me s greater than 10, otherwise by 1.
N=int(input("Enter number: ")) if N>10: N+=5 else: N+=1 print(f"N = {N}")
Need a fast expert's response?
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Comments
Leave a comment