Yes your output is right thank you, but I am sorry I am not expecting this output,
Input: 1
3
Your output: 1
2
My expecting output : 1 2 3
Please review
n = int(input()) for i in range(n): print(i+1, end=' ') print()
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