how to print in same line in loops in python3 code example
Example: print no new line python
print('*', end='')
print('*', end='')
print('*', end='')
# output:
# ***
print('*', end='')
print('*', end='')
print('*', end='')
# output:
# ***