Authors and likes that no longer match
Predict the output · Basic · §11.1 Data and behavior together
The authors of some posts and their like counts are stored in two separate lists. Predict the output without running the code.
Code
authors = ["mina", "jun", "sora"]
likes = [12, 5, 30]
authors.remove("jun")
for i in range(len(authors)):
print(authors[i], likes[i])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.