Menu
×
×
Correct!
Exercise:Check if "apple" is present in the
fruits = {"apple",
"banana", "cherry"} if ("apple" @(2) fruits): print("Yes, apple is a fruit!")
fruits = {"apple",
"banana", "cherry"} if ("apple" in fruits): print("Yes, apple is a fruit!") Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 95 exercises.
Are you sure you want to continue?