<human>:  Python program to choose key conditionally from a tuple of keys.
<bot>: == 'a':
      return i
  return -1

# Enter the tuple
tup = ('a', 'b', 'c')

# Calling the function
print((choose_key_from_tuple(tup)))

#Example Output
# 0

#Remember to inspect code for bugs.