【填空题】
393、 已知x = [1, 2, 3],那么连续执行y = [1, 2, 3]和y.append___这两条语句之后,x的值为__________。___
查看试卷,进入试卷练习
微信扫一扫,开始刷题
答案
4|[1, 2, 3]
解析
暂无解析
相关试题
【填空题】
394、 已知x = [[]] * 3,那么执行语句x[0].append___之后,x的值为__________。___
【填空题】
395、 已知x = [[] for i in range___],那么执行语句x[0].append___之后,x的值为_______。___
【填空题】
396、 已知x = ___,那么执行语句x[0].append___后x的值为______。___)
【填空题】
397、 已知x = {1:1, 2:2},那么执行语句x.update___之后,表达式sorted___)的值为__________。___, ___, ___])
【填空题】
398、 已知x = {1:1, 2:2},那么执行语句x[3] = 3之后,表达式sorted___)的值为__________。___, ___, ___])
【填空题】
399、 表达式type___ == dict的值为_______。___
【填空题】
400、 表达式type___ == set的值为_____。___
【填空题】
401、 已知x = [1, 2, 3],那么表达式not ___-set___)的值为______。___
【填空题】
402、 已知x = [1, 2, 3],那么表达式not ___&set___)的值为______。___
【填空题】
403、 表达式{‘x’: 1, **{‘y’: 2}}的值为_________。___
【填空题】
404、 表达式{range___, 4, ___}的值为________。___
【填空题】
405、 在Python中,不论类的名字是什么,构造方法的名字都是______。___
【填空题】
406、 如果在设计一个类时实现了contains ___
【填空题】
407、 已知函数定义def demo___:return eval___+op+str___),那么表达式demo___的值为____________。___
【填空题】
408、 已知函数定义def demo___:return eval___+op+str___),那么表达式demo___的值为____________。___
【填空题】
409、 已知函数定义def demo___:return eval___+op+str___),那么表达式demo___的值为____________。___
【填空题】
410、 字符串编码格式UTF8使用__________个字节表示一个汉字。___
【填空题】
411、 字符串编码格式GBK使用________个字节表示一个汉字。___
【填空题】
412、 已知字符串编码格式utf8使用3个字节表示一个汉字、1个字节表示英语字母,那么表达式len___的值为_____。___
【填空题】
413、 已知字符串编码格式utf8使用3个字节表示一个汉字、1个字节表示英语字母,那么表达式len___)的值为_____。___
【填空题】
414、 已知字符串编码格式gbk使用2个字节表示一个汉字、1个字节表示英语字母,那么表达式len___)的值为_____。___
【填空题】
415、 已知ord___的值为65并且hex___的值为’0x41’,那么表达式’\x41b’的值为______。___
【填空题】
416、 已知formatter = ‘good {0}’.format,那么表达式list___)的值为________。___
【填空题】
417、 已知x = ‘hello world.’,那么表达式x.find___和x.rfind___的值都为___。___
【填空题】
418、 表达式’:’.join___)的值为_________。___
【填空题】
419、 表达式’:’.join___)的值为_______。___
【填空题】
420、 已知x = ‘hello world’,那么表达式x.replace___的值为_____。___
【填空题】
421、 假设已成功导入Python标准库string,那么表达式len___的值为_____。___
【填空题】
422、 表达式’aaaassddf’.strip___的值为________。___
【填空题】
423、 表达式len___)的值为______。___
【填空题】
424、 表达式len___的值为________。___
【填空题】
425、 表达式chr___^32^32)的值为_______。___
【填空题】
426、 表达式chr___^32)的值为_______。___
【填空题】
427、 已知x = ‘aa b ccc dddd’,那么表达式”.join___ if v==x[i+1]])的值为_______。___
【填空题】
428、 已知当前文件夹中有纯英文文本文件readme.txt,请填空完成功能把readme.txt文件中的所有内容复制到dst.txt中,with open___ as src, open___ as dst:dst.write___)。___
【填空题】
429、 假设正则表达式模块re已正确导入,那么表达式”.join___)的值为___________。___
【填空题】
430、 假设正则表达式模块re已正确导入,那么表达式re.findall___的值为___________。___
【填空题】
431、 假设正则表达式模块re已正确导入,那么表达式re.sub___\1+’, ‘\1’,’a a a a a bb’)的值为______________。___
【填空题】
432、 Python标准库___________提供了对SQLite数据库的访问接口。___
【单选题】
“思想道德修养与法律基础”,是一门融思想性、政治性、科学性、理论性、实践性于一体的___。
A. 基础课
B. 专业课
C. 理论课
D. 思想政治理论课
推荐试题
【单选题】
- Jim, please don't put your head out of the window on the bus. It's dangerous!___
A. Good idea.
B. Sorry, I won't do it again.
C. It doesn't matter.
D. It's good.
【单选题】
-How about going fishing?___, I have no patience for that.
A. Excuse me
B. Sorry
C. Pardon
D. Apologize
【单选题】
- Thanks for the lovely and delicious food______.
A. No thanks
B. Never mind
C. All right
D. My pleasure
【单选题】
- Haven't seen you for ages. Let's have a get-together next week._____
A. Great idea.
B. Welcome!
C. Yes, of course.
D. No, thanks.
【单选题】
- Do you mind if I switch off the radio? ______. Go ahead.
A. Never mind
B. No way
C. No, not at all
D. No, you'd better not
【单选题】
- Could I use your bike for a moment? ___
A. It's well.
B. It doesn't matter.
C. By all means.
D. I have no idea.
【单选题】
-How do you like the story?_______.
A. I'd like to read it
B. I like it very much
C. fine, thank you
D. It's very interesting
【单选题】
- I'll sorry to trouble you.______.
A. Don't say so
B. OK
C. It doesn't matter
D. That's fight
【单选题】
- We ordered 20 boxes of your products, but we have only got 19. - ____
A. You do not have to.
B. It does not matter.
C. We will send another tomorrow.
D. Nothing serious.
【单选题】
--Will you please give the note to him? _________.
A. Certainly, I'll give it to him
B. No, please not
C. Sorry, I don't
D. Yes, please do
【单选题】
- Thank you ever so much for your lovely gift____
A. Never mind
B. I'm glad you like it.
C. Please don't say so.
D. No, It's not so good.
【单选题】
- I'd like to invite you to dinner this Saturday, Mr. Smith.____
A. Oh, no. let's not.
B. I'd rather stay at home.
C. I'm sorry, but I have other plans.
D. Oh, no. That'll be too much trouble.
【单选题】
- Could you please open the window?____
A. I can't.
B. Go ahead.
C. Sure.
D. It's really very kind.
【单选题】
- Do you think I can borrow your bike for a few hours?____
A. I'm afraid you can.
B. I'm sorry, but I really need it this afternoon.
C. Yes, I don't think so.
D. I'll think about it later.
【单选题】
- Thank you very much for the dictionary you sent me.____
A. No thanks.
B. I'm glad you like it.
C. Please don't say so.
D. No, it's not so good.
【单选题】
- How do you like the movie we saw yesterday?____
A. You are welcome.
B. How about you?
C. I've never seen a better movie than it.
D. It is very expensive.
【单选题】
- What do you think of your new teacher____
A. He came to teach us last week.
B. He teaches us English.
C. He has two children.
D. He is very nice.
【单选题】
- Are you going to have a holiday?____
A. Not until next week.
B. Three weeks ago.
C. To Beijing.
D. I'm pleased to hear that.
【单选题】
- You seem to be lost. Need help? ____
A. Yes, would you please help me with the bag?
B. Help me find my key, please.
C. Yes, with pleasure.
D. I'm looking for Zhongshan Road.
【单选题】
- Can you help me clear up the mess____
A. Yes, it doesn't matter.
B. No, that's OK.
C. Yes, help yourself.
D. No problem.
【单选题】
- Does No.20 bus stop at our school?____
A. I go to school by bus.
B. I'm afraid not.
C. You are welcome.
D. I'll not take No.20 bus.
【单选题】
- Can I help you? ____
A. Sorry, I don't need your help.
B. What help can you give us?
C. I'd like to try on these shoes, please.
D. Thanks. You are welcome.
【单选题】
- Sorry to have kept you waiting. ____
A. That's OK.
B. What are you doing?
C. What's wrong with you?
D. Where have you been?
【单选题】
- What is she?____
A. She is a typist.
B. She is talking to her friend.
C. She is having a holiday.
D. She is my sister.
【单选题】
- That's a beautiful cat. I wonder who it belongs to.____
A. It belongs to the
B. rowns. B.The cat is my favourite too.
C. Mind your own business.
D. I can't say anything more.
【单选题】
- Excuse me, could you tell me the time____
A. You'd better buy a watch.
B. It's three thirty by my watch.
C. Can you see the clock?
D. It's late I think.
【单选题】
- What do you think of the movie we saw last night?____
A. The actress is bad.
B. Terrific!
C. The theatre is bad.
D. Nobody was there.
【单选题】
___ No, thanks. I'm just looking around. I'll let you know if I want anything.
A. Could you help me?
B. What will you buy?
C. Can I help you?
D. Do you like to look around?
【单选题】
- Hello, Peter. What do you do?____
A. I am fine.
B. I am not sick.
C. I am a student from Bonn University.
D. I came from Bonn University.
【单选题】
-Excuse me; can I have a seat here?___
A. Be hurry.
B. Come on.
C. Yes, please.
D. Do you mind?
【单选题】
- Shall we sit up here on the grass or down there near the water?___
A. I'd rather stay here if you don't mind.
B. Sorry, I don't like neither.
C. Certainly, why not?
D. Yes, we like these two places.
【单选题】
- What do you do on Sunday?___
A. I 'm a teacher.
B. I play football.
C. You are a student.
D. They clean rooms.
【单选题】
- Our class won the girls' relay race in our school's sports meeting.___
A. That's right.
B. Thanks a lot.
C. Congratulations!
D. It's a pleasure.
【单选题】
- Hi, is Mary there, please?___
A. Hold on. I'll get her.
B. No, she isn't here.
C. Yes, she lives here.
D. Yes, what do you want?
【单选题】
- I am afraid I can't return the book to you before Friday. ___
A. Don't be afraid
B. Be careful
C. Not at all
D. Take your time
【单选题】
- I really don't know how to thank you enough. ___.
A. No problem
B. Think nothing of it
C. Not at all
D. It doesn't matter
【单选题】
- Must I be home before seven? ___.
A. No, you needn't
B. No, you mustn't
C. Yes, you will
D. No, you won't
【单选题】
-I'm sorry to hear that you failed in the exam______.
A. Not at all
B. Oh, thank you.That's very kind of you
C. You are welcome
D. Yes, I'm really sorry
【单选题】
-I will,______.
A. that's all right
B. thank you
C. all right
D. not at all
【单选题】
-Hello, may I speak to Zhao Hua?_____.
A. My name is Zhao Hua
B. I'm Zhao Hua
C. This is Zhao Hua speaking
D. Zhao Hua is me