Feedback for PYTH106 problem

Learning course: Learn Python
Problem Link: CodeChef: Practical coding for everyone

Feedback

Error in the following code in the statement tab:

fruits = ["apple", "banana", "orange", "grape"]

for item in fruits:
    if item == "orange":
        break
    print(fruit)

print(fruits) should be used

Yes, It should be - print(fruits)

@kshamika - thanks for highlighting this. It is fixed.

1 Like