给出如下代码: TempStr="Hello World" 可以输出"world"子串的是
A. print(TempStr[-5:])
B. print(TempStr[-5:-1])
C. print(TempStr[-5:0])
D. print(TempStr[-4:-1])
给出如下代码: s='Python is beautiful!' 可以输出“python”的是
A. print(s[0:7])
B. print(s[0:7].lower())
C. print(s[-21:-14].lower)
D. print(s[:-14])
给出如下代码: s='Python is Open Source!' print(s[0:].upper()) 上述代码的输出结果是
A. PYTHON IS OPEN SOURCE!
B. PYTHON
C. Python is Open Source!
D. YTHON IS OPEN SOURCE