-2
Tools_List=["Hoe","Pitchfork","Shovel"] #`list`
print(Tools_List)
Tools=input("What tools do you want? ")  
print(Tools_List[Tools])
martineau
  • 119,623
  • 25
  • 170
  • 301
mememan
  • 13
  • 4

1 Answers1

0

One can only index with one index as a time, wheres your prompt asks for 'Tools' plural. I suggest (with the int correction, and lower-case names)

tools = ["Hoe","Pitchfork","Shovel"]
print(tools)
tool = int(input("What tool do you want? "))
print(tools[tool])
Terry Jan Reedy
  • 18,414
  • 3
  • 40
  • 52