Using Else With For Loops | Python Tutorials For Absolute Beginners In Hindi #74

nan

Code as described/written in the video


khana = ["roti", "Sabzi", "chawal"]

for item in khana:
    if item == "rotiroll":
        break

else:
    print("Your item was not found")


Comments(1)

sonu007 9 months, 1 week ago
Harry Bhai meri aakho ki aatma tript hogyi

Resources

No downloadable resources for this video. If you think you need anything, please post it in the QnA!

Course Announcements

Any Course related announcements will be posted here

Course Content