30-输入题:title 首字母大写
语法讲解
今天学: title 的用法
s = input()
print(s.title())
小练习
输入为:hello world。运行下面代码后输出是什么?
s = input()
print(s.title())
提交要求: 只提交最终输出结果,不要添加多余的说明或引号。
今天学: title 的用法
s = input()
print(s.title())
输入为:hello world。运行下面代码后输出是什么?
s = input()
print(s.title())
提交要求: 只提交最终输出结果,不要添加多余的说明或引号。
全部评论