I wonder what is the corresponding code for the following code in python. I want to check the charactares backword in a string. An exampel if I have a str="anything&quo