I want to separate numbers in a string so I would be able to do a calculation with the numbers.
Example:
line_str = "23 22 55 67"
So far I have used:
for char in line_str:
print (char)
I don't know how to be able to make do a calculation with each number.
And I believe I can't just write number_int = int(char)
and continue with number_int
.