76 951
Assignments Done
Successfully Done
In June 2019

Answer to Question #3194 in Python for Elizabeth

Question #3194
Given that play_list has been defined to be a list, write a statement that makes the first 3 elements of play_list be "spam", "eggs" and "vikings" (in that order).
Expert's answer
mylist.insert(0, "vikings")
mylist.insert(0, "eggs")
mylist.insert(0, "spam")

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!


Assignment Expert
23.06.11, 12:17

You are also right. Thanks.

21.06.11, 06:43

play_list[0:3]= "spam", "eggs","vikings"

Leave a comment

Ask Your question

Privacy policy Terms and Conditions