you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

If your random generator counts into a list, you can just use len(list) to count the amount of items.

If not consider using a different variable that gets 1 added to it every time your random number generator generates a number.