I am such a noob at this...
beanthexenoxide (1)

Pls can someone tell me a loop code for python code? Thank you!

You are viewing a single comment. View All
PYer (2310)

Many different ways:
while True:
#code
for i in range(30):
#code
https://www.w3schools.com/python/python_for_loops.asp
Upvote if this is helpful! Thanks!

Appleloop06 (5)

@fullern000 where for i in range(x is how many times from 0 i think)

PYer (2310)

@Appleloop06 I don't understand what you are saying.

cerotothree (0)

@Appleloop06 If I understand what you're saying, range(x) would be the range from 0 up to x. So, the loop iterates x times.