print("python".upper())的运行结果为______
A: "python"
B: "PythoN"
C: "PYTHon"
D: "PYTHON"
A: "python"
B: "PythoN"
C: "PYTHon"
D: "PYTHON"
举一反三
- Python语句print("欢迎使用Python")的输出结果是( )。 A: ("欢迎使用Python") B: "欢迎使用Python" C: 欢迎使用Python D: 运行结果出错
- 以下代码的输出结果是什么print("Python!"[:-1]) A: Python! B: python C: Python D: python!
- 给出如下代码s = 'Python is Open Source!' print(s[0:].upper()) A: PYTHON B: PYTHON IS OPEN SOURCE C: Python is Open Source! D: PYTHON IS OPEN SOURCE!
- 如下代码输出结果是 ( )s = 'Python is Open Source!'print(s[0:].upper()) A: PYTHON IS OPEN SOURCE B: Python is Open Source! C: PYTHON D: PYTHON IS OPEN SOURCE!
- 以下语句的运行结果是>>Python=“Python”>>print(“study”+Python) A: studyPython B: “study“Python C: study Python D: 语法错误