SyntaxFix
Write A Post
Hire A Developer
Questions
it should work
example_string = '0, 0, 0, 11, 0, 0, 0, 0, 0, 19, 0, 9, 0, 0, 0, 0, 0, 0, 11' example_list = [int(k) for k in example_string.split(',')]