Explanation
Error 1:
Line 1 was
for item in ["sandals", "glasses", "trousers"):
Error 2:
Line 2 was
print(item.capitalize)
but it should be
print(item.capitalize())
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.
