最新 python中转换大小写的方法 和其他语言一样,python为string对象提供了转换大小写的方法:upper() 和 lower()。还不止这些,python还为我们提供了首字母大写,其余小写的capitalize()方法...... 2026-11-22 0