假设re模块已成功导入,并且有pattern=re.compile(’^’+’/.’.join([r’/d{1,3}’f

题目
判断题
假设re模块已成功导入,并且有pattern=re.compile(’^’+’/.’.join([r’/d{1,3}’foriinrange(4)])+’$’),那么表达式pattern.match(’192.168.1.103’)的值为None。
A

B

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

I have four good f(41) .They're Jennifer, Victor, Cindy and Leila. We are in the same(相同的) c(42) .Jennifer swims very w(43) .She wants to join the s(44) club. Then she can swim on S(45) 0r Sundays. Victor wants to join the art club because he is good at p(46) .Cindy is a pop music fan. She can s(47) a lot of songs. So she wants to join the s(48) club. Leila wants to join the music club be-cause she p(49) the violin very well. And she wants to be a m(50) when she

grows up(长大).1 like them very much.

41._________


正确答案:
41. friends 

第2题:

在零售管理系统帐表册数据与R/3系统接口初始界面,导入状态选择项中包括以下哪些状态()

  • A、未导入
  • B、导入失败
  • C、导入成功
  • D、全部

正确答案:A,B,C

第3题:

You’re () your time trying to persuade him, he will never join us.

A、spending

B、losing

C、wasting

D、missing


参考答案:C

第4题:

假设正则表达式模块re已导入,那么表达式re.sub(’/d+’,’1’,’a12345bbbb67c890d0e’)的值为()。


正确答案:'a1bbbb1c1d1e'

第5题:

假设re模块已成功导入,并且有pattern=re.compile(’^’+’/.’.join([r’/d{1,3}’foriinrange(4)])+’$’),那么表达式pattern.match(’192.168.1.103’)的值为None。


正确答案:错误

第6题:

在一个链队列中,假设f和r分别为队首和队尾指针,删除一个结点的运算是()

A、r=f->next

B、r=r->next

C、f=f->next

D、f=r->next


参考答案:C

第7题:

假设已成功导入Python标准库string,那么表达式len(string.digits)的值为()。


正确答案:10

第8题:

假设random模块已导入,那么表达式random.sample(range(10),20)的作用是生成20个不重复的整数。

此题为判断题(对,错)。


正确答案:×

第9题:

假设re模块已导入,那么表达式re.findall(’(/d)//1+’,’33abcd112’)的值为()。


正确答案:['3', '1']

第10题:

已知x=’a234b123c’,并且re模块已导入,则表达式re.split(’/d+’,x)的值为()。


正确答案:['a', 'b', 'c']