Question: output of the following code? users = [ Alice , Bob, Cathy, David,Ella ] followers = { Alice : 1 1

output of the following code?
users =["Alice", "Bob", "Cathy", "David","Ella"]
followers ={"Alice":11, "Jack":122, "Tom":98, "David":204,"Tony":300}
for user in users:
if user in followers:
print(followers[user])

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!