Contact: aviboots(AT)netvision.net.il
41,591 questions
54,231 answers
573 users
s = "python c++ c c# java" pos = s.rfind("c") print(pos) print(s[:pos]) ''' run: 13 python c++ c '''