Question

Need to do the complete coding in python This is the starting code

Question image 1Question image 2