We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Introduction
- Print Function
- Discussions
Print Function
Print Function
Sort by
recency
|
3192 Discussions
|
Please Login in order to post a comment
if name == 'main': n = int(input())
for i in range(n): print(i+1, end = '')
if name == 'main': n = int(input()) i = 1 while i in range(1,n+1): print(i, end='') i+=1
n=int(input()) for i in range (1,n+1,1): if n>4: seperator="."*(n-4) print(f"123{seperator}{n}",end="") break else: print(i,end="")
if name == 'main': n=int(input()) for i in range(1,n+1): print(i, end=' ')