设s="Happy
New Year",则s[3:8]的值为( )。
A: 'ppy Ne'
B: 'py Ne'
C: 'ppy N'
D: 'py New'
New Year",则s[3:8]的值为( )。
A: 'ppy Ne'
B: 'py Ne'
C: 'ppy N'
D: 'py New'
B
举一反三
- 设s = ”Happy New Year”, 则s[3:8]的值为: 设s = ”Happy New Year”, 则s[3:8]的值为: 设s="Happy New Year",则s[2:7]为[ ] A: 'ppy Ne' B: 'py Ne' C: 'ppy N' D: 'appy N'
- 设 s=“Happy New Year”,则 s[3:8]的值为: A: ‘ppy Ne’ B: ‘py Ne’ C: ‘py N’ D: ‘py New’
- Python 3中,设s =“ Happy New Year”, 则 print(s[3:7])的值为:() A: pyNe B: ppy N C: ppy D: D appy
- 中国大学MOOC: 设s=Happy New Year’,则s[3:8]的值为【 】.。 不加字符串符号
- 设s="Happy New Year",则s[3:8]的值为()
内容
- 0
设s="Happy New Year",则s[:4]的值为( )
- 1
中国大学MOOC: 假设s =Happy New Year,则s[2:7]的值为( )
- 2
A common symbol of New Year's Day in America is ____________. A: Baby New Year B: New Year's resolutions C: Flower New Year D: New Year’s Dinner
- 3
Happy new year!____________________ A: Hi happy new year! B: Thank you! C: Happy new year! D: Happy new year too!
- 4
What's the main idea of Text A “Happy New Year"?