0

I just want this code to be smaller. This long line of essentially nothing is rely bothering me.

    shop()
  elif y == ("u"):
    upgrade()
  elif y == ("st"):
    storage()
  elif y == ("f"):
    factory()
  elif y == ("d"):
    debug()
  elif y == ("a"):
    alchemy()
  elif y == ("h"):
    helpzone()
  elif y == ("sa"):
    saving()
  elif y == ("c"):
    conquest() 

There is just a input before it. How would I condense this? Thanks.

0 Answers0