title: How to create value in dictionary by user's input?
body: <p>I have a function that creates a request for a client to send to my server.
  The client gets a menu and for each option, the function will create a request to send to the server, but for some of the options must involve input from the user, I tried to make a dictionary that has 8 keys and the value of some of them is - "input()".
  The problem is that if I do that it asking once for input for all the keys, but I want to create value only for a specific key.
  Here is what I tried:</p>
  
  <pre><code>def input():
      print("1 - Albums list\n2 - List of songs in a album\n3 - Get song length")
      print("4- Get lyrics song\n5 - Which album is the song in?")
      print("6 - Search Song by Name\n7 - Search Song by Lyrics in Song\n8 - Exit")
      request_creator(input())
  
  def request_creator(x):
      return {'1': "1#", '2': "2#" + input("Enter album: "), '3': "3#" + input("Enter song: "), '4': "4#" + input("Enter song: "), '5': "5#" + input("Enter song: "), '6': "6#" + input("Enter a word: "), '7': "7#" + input("Enter lyrics: "), '8': "8#"}[x]
  </code></pre>
  
  <p>When the user asks for option number 3, for example, it will ask him also for all the others values but I need only for key number 3.
  Is there any way to do that without a lot of if statements?</p>