🌈 搜索
📅  最后修改于: 2022-03-11 14:47:12.642000             🧑  作者: Mango
a_list = [1.234, 2.345, 3.45, 1.45] round_to_whole = [round(num) for num in a_list] print(round_to_whole)