data-wrangling icon indicating copy to clipboard operation
data-wrangling copied to clipboard

Chapter 8 our_first_script_with_functions.py issue

Open Rexw099 opened this issue 6 years ago • 0 comments

When the script runs the following function I get the following error.

def find_missing_data(zipped_data): missing_count = 0 for question, answer in zipped_data: if not answer: missing_count += 1 return missing_count

_in find_missing_data for question, answer in zipped_data: ValueError: too many values to unpack

Rexw099 avatar Jan 24 '19 14:01 Rexw099