Contact: aviboots(AT)netvision.net.il
43,913 questions
57,315 answers
573 users
f = 3.14159 lst = [int(d) for d in str(f) if d.isdigit()] print(lst) ''' run: [3, 1, 4, 1, 5, 9] '''