>>> arr = ['3.14','6.19','10','-3.1'] >>> arr = list(map(float,arr)) >>> print(arr) [3.14, 6.19, 10, -3.1] Post Views: 856
留言