Contact: aviboots(AT)netvision.net.il
39,971 questions
51,913 answers
573 users
s = "python c++ c c# java" pos = s.rfind("c") print(pos) print(s[:pos]) ''' run: 13 python c++ c '''