Contact: aviboots(AT)netvision.net.il
39,878 questions
51,803 answers
573 users
str = "1php 23 c++ -4 python 5 java 3.14" l = [int(s) for s in str.split() if s.isdigit()] print(l) ''' run: [23, 5] '''