Printing &&&& symbols

Report a typo

How many & will this code print?

Tip: you can use an IDE to solve this task.

string = ""
for i in range(1, 20, 4):
    string += "&" * i

print(string)
Enter a number
___

Create a free account to access the full topic