You are viewing a single comment's thread. Return to all comments →
For me ,
for i in range(1,int(input())+1): print(i,sep='')
doesnt work, but,
for i in range(1,int(input())+1): print(i,end="")
works.
I am using Python3 , anyone knows why is this happening?
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 →
For me ,
for i in range(1,int(input())+1): print(i,sep='')
doesnt work, but,
for i in range(1,int(input())+1): print(i,end="")
works.
I am using Python3 , anyone knows why is this happening?