Update_passenger() function to create "Allowed_passenger"dictionary based on the rules. Function is not checking flight number, ID, first name and lastname and Covid-19 status with a nested if statement (-1.5 each)

Function is not checking Covid-19 status by calling previousfunctions (-1.25 each) :) Function is not warning when luggage weight is exceeded andCovid-19 status is positive (-1.25 each) Function is not returning correct “Allowed_passenger" dictionary(-0 to -2.5) depends on the correctness of the dictionary

Fig: 1

Fig: 2

Fig: 3

Fig: 4

Fig: 5