hey everyone, i'm having a mental block can anyone help me out
if i have a list like this
num = ['1;3;2;3;2;1;4' , '\n', '30;2;13;2;1;4; 2', '2;3;2;1;4;2;4' , '3;2;1;4;2;4;1' , '2;1;4;2;4;1;4' , '1;4;2;4;1;4;2']
how might i get python to recognize each elemant as an integer so that i can sum each list
that is have it print
16
\n
54
18
etc
thanks
if i have a list like this
num = ['1;3;2;3;2;1;4' , '\n', '30;2;13;2;1;4; 2', '2;3;2;1;4;2;4' , '3;2;1;4;2;4;1' , '2;1;4;2;4;1;4' , '1;4;2;4;1;4;2']
how might i get python to recognize each elemant as an integer so that i can sum each list
that is have it print
16
\n
54
18
etc
thanks
Comment