C1 W3 Assignment Exercise 6 Error


My code isn’t working and I’ve been trying to make this run for like 2 days, can somebody help here? please?
Ps: my code is exactly like the hints.

Learner is trying to fix the code.