python list对其中的每个元素执行相同的操作

Python中如何将float浮点型列表转换为int整型列表

a_int = [int(a) for a in a]
原文地址:https://www.cnblogs.com/StarZhai/p/15472629.html