New: Practice Python, JavaScript & SQL with AI feedback — Try ActiveSkill free →

Day 7, Bug Fixing Exercise 2

Explanation

Line 2 was

numbers = [int(number) for item in numbers]

but it should be
numbers = [int(item) for item in numbers]
Since we are using "item" in "for item", we should use "item" inside int() too. 

Recommended Course

Python Mega Course: Learn Python in 60 Days, Build 20 Apps
Learn Python on Udemy completely in 60 days or less by building 20 real-world applications from web development to data science.