Jump to content

pythoncoderforfun

Member Since 14 Dec 2013
Offline Last Active Dec 14 2013 11:41 PM
-----

Topics I've Started

Python Help

14 December 2013 - 11:24 PM

I have to write a code doing this:
create a list named "hobbit". Add the characters in the following order: "Bilbo", "Gandolf", "Ori", "Thorin". Switch places with Bilbo and Ori. Then, print that list. 
Then, squeeze Ori's brother between Gandolf and Bilbo. Print the list again
Then, switch positions of Ori and Gandolf. Print the list again
 
I tried doing it, but I don't think I'm doing it correctly.