EasyOutput prediction
Boolean as index
What does this code print?
items = ["no", "yes"] print(items[True]) print(items[False])
← → arrow keys to navigate
Sign in to save your progress.
What does this code print?
items = ["no", "yes"] print(items[True]) print(items[False])
← → arrow keys to navigate
Sign in to save your progress.