Contact: aviboots(AT)netvision.net.il
39,938 questions
51,875 answers
573 users
s = "python 3 c++ 17 'php 7" lst = [int(c) for c in s.split() if c.isdigit()] print(lst) ''' run: [3, 17, 7] '''