I need help. I created a code to make 5 shapes to go to a givenplace (one shape can go to more than one place) however after goingto the place i have to count all the shapes at the places. I wasable to count the total number of shapes however i couldn’t counthow many of shape_1 was there (how many of shape_2, how many ofshape_3 and so on). please really want this to work. THank you
def follow(map):
drawgrid()
counter = 0
count_1 = 0
count_2 = 0
count_3 = 0
count_4 = 0
count_5 = 0
for direction in map:
if direction[0] == ‘Start’:
start_pos(direction)
token_being_drawed(direction)
counter = counter+1
if direction[0] != ‘Start’:
place(direction)
move(direction)
token_being_drawed(direction)
counter
PayPal Gateway not configured
PayPal Gateway not configured