高仿模拟练习,补全代码空缺,答案点击按钮展开
将字符串 s 转为全大写并输出。
s = "hello" print(____)
s.upper()
str.upper() 返回全大写副本,原串不变,输出 HELLO。