Question #219795

Increment the number

Write a Python Program of Increment the number.It Consists of two test cases


The below link contains Increment the number - question, explanation and test cases


https://drive.google.com/file/d/1aV-eysW_M5HQQ_u3Lx7EcM3UowScytTr/view?usp=sharing


We need all test cases can be come while code was run

Expert's answer

N=int(input())#input N integer number
if N>10:#if greater than 10 than N increment 5
    N+=5
else:
    N+=1#else 
print(N)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS