Skip to content

Python code snippet – How to print in one line ?

# A small example using range function
for i in range(1, 11):
  print(i, end="")
See also  Python code snippet - How to make open an application on mac?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.