Contact: aviboots(AT)netvision.net.il
39,878 questions
51,803 answers
573 users
lst = ["python", "763", "c#", "99", "java", "018"] lst = [int(i) if i.isdigit() else i for i in lst] print(lst) ''' run: ['python', 763, 'c#', 99, 'java', 18] '''