11/17/23
keep getting this out come "free variable 'valid_passport' referenced before assignment in enclosing scope" please help out
def valid_passport(pp): requirements = {"pid", "hgt", "cid", "iyr","byr","eyr","ecl","hcl", "ecl"} # Inputs all required keys into a list return all(field in pp for field in requirements) or...
more
Still looking for help? Get the right answer, fast.
Ask a question for free
Get a free answer to a quick problem.
Most questions answered within 4 hours.
OR
Find an Online Tutor Now
Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.