Discover answers to your most pressing questions at Westonci.ca, the ultimate Q&A platform that connects you with expert solutions. Explore our Q&A platform to find reliable answers from a wide range of experts in different fields. Explore comprehensive solutions to your questions from a wide range of professionals on our user-friendly platform.

What is the otput of this program if the user input is 'ant'?

animal=input("Which animal? ")
animals = ["ant", "bear", "seal"]
if animal in animals:
print("bingo")
else:
print("boo")


Sagot :