list1 = ['2019-01-02', 'NASDAQ', 'Apple Inc.', 'AAPL', '39.48', '148158800']
I want to change list1
as
list2 = ['2019-01-02', 'NASDAQ', 'Apple Inc.', 'AAPL', 39.48, 148158800]
Each type is str, str, str, str, float, int.
I have tried some codes, but only thing I can do is removing all the quotation marks.
Is there any other methods?