题解 | #格式化输出(二)#
格式化输出(二)
https://www.nowcoder.com/practice/3bd78a6de34a447fa49571a03f164fd3
import sys # 首字母大写:capitalized() # 每个单词首字母大写:title() name = input() print(name.lower()) print(name.upper()) print(name.title())
格式化输出(二)
https://www.nowcoder.com/practice/3bd78a6de34a447fa49571a03f164fd3
import sys # 首字母大写:capitalized() # 每个单词首字母大写:title() name = input() print(name.lower()) print(name.upper()) print(name.title())
相关推荐