📜  for 循环将列表转换为小写 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:23.197000             🧑  作者: Mango

代码示例1
s = ["hEllO","iNteRneT","pEopLe"]
for i in range(len(s)):
    s[i] = s[i].lower()
print(s)