title: I want to search for inputted employees and return them in a dictionary from this program
body: <pre><code>print('----------------------------------------------\n')
  print('      Welcome to the Employee Data System    -\n')
  print('----------------------------------------------\n')
  lst1=[]
  num=int(input(&quot;Enter number of employees:&quot;))
  for n in range(num):
      empno=int(input(&quot;Enter employee number:&quot;))
      lst1.append(empno)
      print(&quot;The employee numbers are:&quot;,lst1)
  lst2=[]
  for i in range(num):
      empname=input(&quot;Enter name of employee:&quot;)
      lst2.append(empname)
      print(&quot;The Employee names are:&quot;,lst2)
  dict1=dict(zip(lst1,lst2))
  print(&quot;The employees are:&quot;,dict1)
  while True:
      print(&quot;Press 1 for removing an employee&quot;)
      print(&quot;Press 2 for adding an employee&quot;)
      print(&quot;Press 3 for serching an employee&quot;)
      print(&quot;Press 4 for exiting the program&quot;)
      ch=int(input(&quot;Enter choice:&quot;))
      if ch==1:
          rem=int(input(&quot;Enter employee number of employee u wish to remove:&quot;))
          if rem in dict1:
              dict1.pop(rem)
              print(dict1)
      elif ch==2:
          empno2=int(input(&quot;Enter number of employees needed to be added&quot;))
          for n in range(empno2):
              updno=int(input(&quot;Enter employee number:&quot;))
              lst1.append(updno)
              print(&quot;The update employee numebrs are:&quot;,lst1)
          for n in range(empno2):
              updname=input(&quot;Enter name of employees to be added:&quot;)
              lst2.append(updname)
              print(&quot;The updated employee names are:&quot;,lst2)
          dict2=dict(zip(lst1,lst2))
          print(&quot;The updated employees are&quot;,dict2)
      elif ch==3:
          pass
      elif ch==4:
          break
  </code></pre>
  <p>I can't search for emloyee and return them in a dictionary or tabular column so I just want to add a feature that the user can input a number in keys and the program checks for the value, and if found then it returns in like dictionary.
  Or are there any other options regarding the search?</p>