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
|
3132 Discussions
|
Please Login in order to post a comment
PYTHON
if name == 'main': n = int(input()) a = '' for i in range(1, n+1): a= a+str(i) print(a)
By using this stub, developers can easily integrate input reading functionality into their code, ensuring a smooth and standardized process. Fairplay Register
if name == 'main': n = int(input()) for i in range(1,n+1): print(i,end="")