fork download
  1. # your code goes here
  2. a = "quan tri mang cham com"
  3. i = len(a)
  4. while (i > 0):
  5. i = i - 1
  6. if a[i] == "a":
  7. print(i)
  8. break
  9.  
  10.  
Success #stdin #stdout 0.02s 27712KB
stdin
Standard input is empty
stdout
16