Fill: 字符串 Uppercase
填空题 入门
题目
Fill in 空白到 convert 字符串到 uppercase.
代码
s = "hello"
result = s.___()
提示
方法 name 是 word for '制作 upper 情况'.
解释
upper() 返回复制的 字符串使用所有 characters converted 到 uppercase. 'hello'.upper() = 'HELLO'.
相关资源
相关课程
- 字符串
字符串方法.
查阅不认识的术语
新手友好的术语表用大白话解释编程术语——变量、函数、DOM、Promise 等等。
解读错误信息
用大白话解释常见错误——什么意思、为什么发生、如何修复。
动手做项目
通过引导式项目应用所学,含起始代码与解决方案。