给出如下代码,可以输出“python”的是
s = 'Python is beautiful!'
s = 'Python is beautiful!'
举一反三
- 给出如下代码<br/>s<br/>= 'Python is beautiful!'<br/>可以输出“python”的是 A: print(s[0:6]) B: print(s[0:6].lower()) C: print(s[–21:<br/>–14].lower) D: print(s[:–14])
- s=’Python is beautiful! ’ 可以输出“python”的是
- 给出如下代码:s=‘PythonisOpenSource!’int(s[0:].upper())代码的输出结果是 A: PYTHON IS OPEN SOURCE! B: PYTHON C: Python is Open Source! D: PYTHON IS OPEN SOURCE
- 给出如下代码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 is Open Source! D: PYTHON