print lines without \n code example
Example 1: print no new line python
print('*', end='')
print('*', end='')
print('*', end='')
# output:
# ***
Example 2: python not jump next line
print('.', end='')
print('*', end='')
print('*', end='')
print('*', end='')
# output:
# ***
print('.', end='')