fork download
  1. symbol = 'a'
  2. Alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  3.  
  4. num = Alphabet.find(symbol.upper(), 1)
  5.  
  6. print num
Success #stdin #stdout 0.01s 8968KB
stdin
Standard input is empty
stdout
-1