🌈 搜索
📅  最后修改于: 2022-03-11 14:46:12.352000             🧑  作者: Mango
>>> mylis = ['this is test', 'another test'] >>> [item.upper() for item in mylis] ['THIS IS TEST', 'ANOTHER TEST']