Hello, I'm Still a python beginner. I've got this Assignment, and I think I've finished half of it. Can anyone help me out on this assignment. The codes I have done already are:
The assignment asks to:
Make a program that prints a list of 5 items in your house and one EMPTY space. The program then asks you to pick from a list of 3 items. The program then puts that item in the EMPTY space of your house list.
house = ["TV", "computer", "phone", "playstation", "Wii", "EMPTY"]
print "items in my house are: "
print house
house = ["TV", "computer", "phone", "playstation", "Wii", "EMPTY"]
print "Pick an item to fill in the empty space: \n1 =TV\n2 = computer\n3 = Wii\n\n"
item =raw_input("\nYou chose: ")
house[6] = item
print "Items in my house are now:"
print house
After it is done, the program is suppose to look like this:
http://i36.tinypic.com/28uu4uv.jpg
Yea, I tried my best effort. But I cannot figure out. Help would be Appreciated. thanks.