You are viewing a single comment's thread. Return to all comments →
f name == 'main': n = int(input()) for i in range(1 , n+1): print(f"{i}", end = '')
Seems like cookies are disabled on this browser, please enable them to open this website
Print Function
You are viewing a single comment's thread. Return to all comments →
f name == 'main': n = int(input()) for i in range(1 , n+1): print(f"{i}", end = '')
here the end = ' ' will take next iteration as the argument and print it in the same line.