I currently have a file that's being read and making every line into a list. The file looks like this:
A 11 1
B 12 2
C 11 2
It's easy to make a list using split()
['A', '11', '1']
But how do I make a list that contains both chars and ints such that I get this below:
['A', 11, 1]
would be grateful for some help!