You are viewing a single comment's thread. Return to all comments →
A simpler solution - [print(num+1, end='') for num in range(n)]
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 →
A simpler solution - [print(num+1, end='') for num in range(n)]