I am getting a number from a csv file to a list and would like to compare these numbers to other numbers, how can I achieve this?
num = [2,32,31,23,12,32]
csvnumber= ['23,43,41,21,34']
How do I convert the csv number into ints to compare with my num list?
list(ast.literal_eval(csvnumber[0])).