单项选择题

给出如下代码:
TempStr = "Hello World"
选项中可以输出“World”子串的是(         )。
A、print(TempStr[–5:–1])
B、print(TempStr[–5:0])
C、print(TempStr[–4:-1])
D、print(TempStr[–5:])

相关考题

Not listening properly is a common problemwith many peo...


未知题型Not listening properly is a common problemwith many peoplE.Listening is an importantskill you will need in order tobecome a good friend and a successfulperson. Then ___41 ___can you be a good listener?
Firstly, listen with your eyes, heart and ears. Your friend may look very ___42___ . But whenyou ask her “How are you?”, shemight ___43___ in a sad voice, “I’m perfectly finE.” She looksupset and she also sounds upset but she says that she is perfectly finE.Therefore, it’s not ___44___to listen tosomeone only throughwords. You have to notice their tones( 语 气 ) and bodylanguage to understand how they are really ___45___ . When you can understand what someone isreally saying, you have become a good listener.
Secondly, see things ___46___ someone’s point of view(考虑角度). ___47___ your friend isvery upset because she lost $100. You might tell her, “That’snot ___48 ___.”But try to see thingsfrom her point of view. Maybe she comes from a poor___ 49___ and her mother had to work veryhard to make that money. When you are trying to understand someone’s ___50___ , you willbecomea better listener. Proper listening skills are very important for keeping good relations with people and forpersonal success.
41___________
A.why
B.when
C.how
D.where
42A.afraid
B.excited
C.confident
D.upset
43A.reply
B.sing
C.ask
D.shout
44A.popular
B.necessary
C.enough
D.pleasant
45A.working
B.feeling
C.reading
D.doing
46A.from
B.at
C.to
D.with
47A.Predict
B.Suppose
C.Allow
D.Fear
48A.few
B.a little
C.a few
D.much
49A.family
B.town
C.city
D.country
50A.language
B.problem
C.mistake
D.suggestion
请帮忙给出每个问题的正确答案和分析,谢谢!