i tried something:
i created a list with all possible coordinates and then another list with the random 12:
now how i instatiate that with the shapes?
-i haven't succeeded yet in creating random shapeds though-
i created a list with all possible coordinates and then another list with the random 12:
import random coordinates = [] for x in range(12): for y in range(30): coordinates.append((x, y)) for i in range(12): lilo = random.choice(coordinates) print(lilo)but i used random.choice and not random.randit (as exercise says )
now how i instatiate that with the shapes?
-i haven't succeeded yet in creating random shapeds though-