首页 > 公务员考试 > 问题详情
搜题
题目内容 (请给出正确答案)
[单选]

元组变量t=("cat","dog","tiger","human"),t【::–1】的结果是()

A、运行出错

B、['human','tiger','dog','cat']

C、('human','tiger','dog','cat')

D、{'human','tiger','dog','cat'}

答案
查看答案
更多“元组变量t=("cat","dog","tiger","human"),t【::–1】的结果是()……”相关的问题

第1题

I saw my dog ________ a cat yesterday.A.run awayB.runC.set outD.run after
I saw my dog ________ a cat yesterday.
A.run away
B.run
C.set out
D.run after
点击查看答案

第2题

你喜欢小狗吗英文怎么说()

A、o you like cat

B、o you like cats

C、o you like dog

D、o you like dogs

点击查看答案

第3题

下边四个变量声明语句中,哪一个变量的命名是正确的()

A、var default

B、var my_house

C、var my dog

D、var 2cats

点击查看答案

第4题

Can a dog run()

A、No, it can’t

B、Yes, it can

C、No, I don’t

点击查看答案

第5题

设有变量a="Me","You",则变量a属于()

A、字符串

B、元组

C、列表

D、集合

点击查看答案

第6题

翻译:那猫不是绿色的()

A、That cat isn't green

B、That cat is green

C、The cat isn't white

点击查看答案

第7题

--Can a cat catch a rat-- __()

A、Yes, he can’t

B、No, he can

C、Yes, he can

点击查看答案

第8题

已知元组t=(1,3,5,6,3),t.append(2),则t的值是()

A、(1,3,5,6,3,2)

B、[1,3,5,6,3,2]

C、(1,2,3,5,6,3)

D、程序报错

点击查看答案

第9题

给出如下代码MonthandFlower={“1月”:“梅花”,“2月”:“杏花”,“3月”:“桃花”,“4月”:“牡丹花”,“5月”:“石榴花”,“6月”:“莲花”,“7月”:“玉簪花”,“8月”:“桂花”,“9月”:“菊花”,“10月”:“芙蓉花”,“11月”:“山茶花”,“12月”:“水仙花”}n = input(“请输入1—12的月份:”)print(n + “月份之代表花:” + MonthandFlower.get(str(n)+“月”))以下选项中描述正确的是()

A、代码实现了获取一个整数(1—12)来表示月份,输出该月份对应的代表花名

B、MonthandFlower是列表类型变量

C、MonthandFlower是一个元组

D、MonthandFlower是集合类型变量

点击查看答案

第10题

One October morningin 2012, Paul Horton, a 59-year-old retired mechanical engineer and a keenoutdoorsman, climbed onto his mountain bike and took off through hisneighborhood near Lake Travis. Yogi, a six-year-old well-trained dog, camealong. Yogi had done it every morning for nearly three years, happily besidehis master. The two-mile route wound through hilly rural roads to a narrow,forested path. Shortly after turning around to go home, Horton approached anine-inch-tall raised stone edge where the path met the sidewalk. He had jumpedthe edge dozens of times before, but onthis morning somehow he didn’t get enough height, and the bike’s front wheel ran into the edge hard and twistedsharply. Horton, who wasn’t wearing a helmet, flew overthe handlebars, hitting headfirst into the sidewalk. He was knockedunconscious. When he came to, he found himself lying on the ground half a milefrom home.

By Horton’s sidewas Yogi, anxious to continue the trip home. As Horton tried to rise, herealized he could not feel anything below his chest, and blood began to fillhis mouth. Horton whispered ,“Go home. Goget Shearon.” Horton spoke the phrase slowly, again andagain, words he knew the dog wouldunderstand. “Go get” was afamiliar command. Shearon was the name of Horton’swife. For about 45 minutes, Yogi refused to leave his companion’s side. Horton continued commanding Yogi to go. Finally,the dog ranaway.

That morning, Bruceand Maggie Tate, two of Horton’s neighbors, were on a walk in the area whenthey spotted Yogi running down the street, which they found strange.They knew him as a calm and obedient (顺从的)dog. He darted (飞奔)toward them, then away seeming to beg for their attention. When they followed, Yogi dashedoff, leading them somewhere, it seemed.

The wait was aserious pain for Horton. He lost track of time, and it became hard tobreathe. Then Horton heard the faintsound of a dog barking. Yogi ran toward him. The Tates, who were right behindhim, saw Horton’s condition and called for help. Horton was rushed to St. David’sRound Rock Medical Center, where doctors did what they could to mend hisdamaged backbone. Soon after, Horton was sent to St. David’s RehabilitationHospital. His first two visitors? Shearon and Yogi.

21. What do we know about Paul Horton?

A. He was keen on gardening.

B. He was good at designing bikes.

C. He was fond of outdoor activities.

D. He was devoted to environmental protection.

22. The accident happened when Paul Horton _______.

A. tried to jump over the raised stone edge

B. was on his way to the mountain area

C. took a new narrow forested path

D. climbed onto his mountain bike

23. The word “spotted” in Paragraph3 most probably means “_______”.

A. walked B. saw C. greeted D. chased

24. What can be learned about Yogi from the passage?

A. He liked to do things at will.

B. He seldom went out with his master.

C. He saved his master’s life in the accident.

D. He ran away from his master right after the accident.

25. What can be the best title of the story?

A. Look Before You Leap B. More Haste, Less Speed

C. Love Me, Love My Dog D. A Dog in Need Is a Friend Indeed

点击查看答案

第11题

After having lived for over twenty years in the same district, Albert Hall was forced to move to a new neighborhood. He surprised his landlord by telling him that he was leaving because he could not afford to buy any more chocolate.
It all began a year ago when Albert Hall returned home one evening and found a large dog in front of his gate. He was very fond of animals and as he happened to have a small piece of chocolate in his pocket, he gave it to the dog. The next day, the dog was there again. It held up its paws (爪子) and received another piece of chocolate as a reward. Albert called his new friend “Bingo”. He never found out the dog's real name, nor who his owner was. However, Bingo appeared regularly every afternoon and it was quite clear that he liked chocolate more than bones. He soon grew dissatisfied with small pieces of chocolate and demanded a large bar a day. If at any time Albert couldn't give it, Bingo got very angry and refused to let him open the gate. Albert was now at Bingo's mercy and had to “buy him” to get into his own house! He spent such a large part of his week's wage to keep Bingo supplied with chocolate that in the end he had to move somewhere else.
1)、Albert had been living in the same district for all his life.
A.T
B.F
2)、Albert decided to move because he was afraid of animals, especially dogs.
A.T
B.F
3)、Bingo waited for Albert every afternoon at the gate because he liked Albert.
A.T
B.F
4)、We can tell from the story that Albert could afford to buy a large bar of chocolate for Bingo every day.
A.T
B.F
5)、Albert had to “buy him” means Albert had to give him chocolate.
A.T
B.F
点击查看答案
重置密码
账号:
旧密码:
新密码:
确认密码:
确认修改
下载APP
关注公众号
TOP
购买搜题卡查看答案 购买前请仔细阅读《购买须知》
搜题卡套餐
请选择支付方式
点击支付即表示同意并接受了《服务协议》《购买须知》
立即支付
已付款,但不能查看答案,请点这里登录即可>>>
请使用微信扫码支付(元)

订单号:

遇到问题请联系在线客服

请不要关闭本页面,支付完成后请点击【支付完成】按钮
遇到问题请联系在线客服
恭喜您,购买搜题卡成功 系统为您生成的账号密码如下:
重要提示:请勿将账号共享给其他人使用,违者账号将被封禁。
发送账号到微信 保存账号查看答案
怕账号密码记不住?建议关注微信公众号绑定微信,开通微信扫码登录功能