Code to print the star(*) pattern without newline and space:

for i in range(0, 20):
    print('*', end="")