title: Setting the location of a variable in a list to another variable - python
body: <pre><code>alpha = ["A", "B", "C"]
  morsecode = ["*-", "-***", "-*-*"]
  
  string = raw_input("&gt;&gt; ")
  list1 = list(string)
  
  a1 = list1[0]
  
  try:
     if a1 in alpha:
          a11 = alpha.index(a1)
          b1 = morsecode.index(a11)
          a1 = b1
          print a1
  </code></pre>
  
  <p>i want you to be able to type in "A" and it will print "*-"</p>