Code to print the star(*) pattern without newline and space: for i in range(0, 20): print('*', end="") Post navigation How can you print without a newline in Python?