for (y in range(4)):

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Serdar

I keep getting for loop error as identifier

:bust_in_silhouette: Reply From: volzhs

you should just type like this without parentheses

for y in range(4):

Thank you, that solved it.

Serdar | 2019-03-02 05:54

Note that range is unnecessary. This will work as well:

for y in 4:

kidscancode | 2019-03-02 17:58