×
×
Correct!
Use the correct membership operator to check if "apple" is present in the
fruits = ["apple", "banana"]
if "apple" @(2) fruits:
print("Yes, apple is a fruit!")
fruits = ["apple", "banana"]
if "apple" in fruits:
print("Yes, apple is a fruit!")
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 95 exercises.
Are you sure you want to continue?