Printing a list and counting it
Predict the output · Basic · §3.1 Lists
This is the list of tags on a post. Predict the three lines of output without running the code.
Code
tags = ["cafe", "travel", "food"]
print(tags)
print(len(tags))
print(len("travel"))Solve this problem in your browser
Python runs in your browser and checks your answer right away. Hints and the answer are on the problem page.