#we define function with 'def' keyword
#and put colon after parentheses
#all commands inside should be shifted right with 4 spaces
def my_function():
forward()
forward()
left()
left()
print('my_function completed')
#now we can call this function, perhaps several times
my_function()
my_function()
#modify function so that it reach the star
#pick it and and turn right
#then call it three times to collect all the stars!