text: s2 = 'adamant'
  print(s2.rindex('a')) # -- RI1
  print(s2.rindex('a',4)) # -- RI2
  s3 = "humongous"
  print(s3.rindex('u')) # -- RI3
  print(s3.rindex('u',-5)) # -- RI4
  print(s3.rindex('g',-5,-3)) # -- RI5
  print(s3.rindex('g',-7,-4)) # -- RI6
  s4 = "Beautiful! Beautiful! you are so Beautiful"
  print(s4.rindex('u')) # -- RI7
  print(s4.rindex('u',-5)) # -- RI8
  print(s4.rindex('!',-30,-3)) # -- RI9
  