64 693
Assignments Done
99,3%
Successfully Done
In September 2018

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!

Comments

Assignment Expert
23.06.11, 12:17

You are also right. Thanks.

Drew
21.06.11, 06:43

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

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions