The setter function named wonAward that takes a parameter for the name of an award and stores the award name in the awards array is as follows:
def wonAward(string):
awards_array = []
awards_array.append(string)
return awards_array
print(wonAward("best student"))
The code is written in python.
learn more on function here: https://brainly.com/question/26104476