网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
单选题
list(map(abs,[1,-2,-5]))返回值为()。
A

[1,-2,-5]

B

[-1,-2,-5]

C

[1,2,5]

D

[-1,2,5]


参考答案

参考解析
解析: 暂无解析
更多 “单选题list(map(abs,[1,-2,-5]))返回值为()。A [1,-2,-5]B [-1,-2,-5]C [1,2,5]D [-1,2,5]” 相关考题
考题 表达式list(map(lambdax:x+5,[1,2,3,4,5]))的值为______________________。

考题 list(map(str,[1,2,3]))的执行结果为_____________________。

考题 表达式list(map(list,zip(*[[1,2,3],[4,5,6]])))的值为________________。

考题 下面程序的运行结果为( )。def swap(list): temp=list[0] list[0]=list[1] list[1]=templist=[1,2]swap(list)print(list) A.[1,2]B.[2,1]C.[2,2]D.[1,1]

考题 A policy needs to be implemented on Router B so that any traffic sourced from 172.16.10.0/24 will be forwarded to Router C. Which configuration on Router B will achieve the desired effect?() A.access - list 1 permit 172.16.10.0 0.0.0.255 ! interface e0 ip policy route - map policy ! route - map policy permit 10 match ip address 1 set ip next - hop 1 72.16.14.4B.access - list 1 permit 172.16.10.0 0.0.0.255 ! interface s0 ip policy route - map policy ! route - map policy permit 10 match ip address 1 set ip next - hop 172.16.12.3C.access - list 1 permit 172.16.10.0 0.0.0.255 ! interface e0 ip polic y route - map policy ! route - map policy permit 10 match ip address 1 set ip next - hop 172.16.12.2D.access -list 1 deny 172.16.10.0 0.0.0.255 ! interface s0 ip policy route - map policy ! route - map policy permit 10 match ip address 1 set ip next - hop 172.16.12.2

考题 Refer to the exhibit. A new TAC engineer comes to you for advice. The engineer wants to configure RIPv2 - OSPF two - way redistribution while avoiding routing loops. Which two additio ns to the router B1 configuration should the engineer make?()A. access - list 40 deny 172.16.1.0 0.0.0.255 access - list 40 permit any router rip redistribute ospf 100 metric 5 distribute- list 40 out ospf 100B. ip prefix - list rip_routes permit 172. 16.1.16/25 ge 26 le 28 route - map redis - ospf deny 10 match ip address prefix- list rip_routes router rip redistribute ospf 10 route - map redis - ospf subnetsC. ip prefix - list rip - to - ospf permit 10.1.1.8/25 ge 26 le 28 route - map redis - rip deny 20 match i p address prefix - list rip - to - ospf router ospf 100 redistribute rip route - map redis - rip subnetsD. access - list 15 deny 10.1.1.0 0.0.0.63 access - list 15 permit any route - map redis - rip deny 10 match ip address 15 route - map redis - rip permit 20 router os pf 100 redistribute rip route - map redis - rip subnets

考题 WhatistheorderofpreferenceforthesecommandswhenallofthemareappliedtooneneighborintheBGPinboundfilterdirection?() A.prefix-list,route-map,filter-list,distributelistB.route-map,filter-list,prefix-list,distribute-listC.route-map,distribute-list,prefix-list,filter-listD.filter-list,prefixlist,route-map,distributelistE.distributelist,prefix-list,route-map,fitterlist

考题 下列算子可以遍历List集合并且没有返回值的是()A、foreachB、reduceC、persistD、map

考题 以下哪些结果一定是一个一维列表[’1’,’2’,’3’]?()A、list("123")B、map(unicode,range(1,3))C、[("1"),("2"),("3")]D、[("1",),("2",),("3",)]

考题 对于Map("book"-5,"pen"-2).map(m=m._1-m._2*2)结果说法正确的是?()A、Map("bookbook"-5,"penpen"-2)B、Map("bookbook"-10,"penpen"-4)C、Map("book"-10,"pen"-4)D、Map("book"-5,"pen"-2,"book"-5,"pen"-2)

考题 在scala中对于列表的操作,那些说法说法正确vart=List(1,2,3)vart2=List(4,5)()A、vart3=t++t2得到List(1,2,3,4,5)B、vart3=List.concat(t,t2)得到List(1,2,3,4,5)C、vart3=t:::t2得到List(1,2,3,4,5)D、vart3=t2.:::(t)得到List(1,2,3,4,5)

考题 list(map(abs,[1,-2,-5]))返回值为()。A、[1,-2,-5]B、[-1,-2,-5]C、[1,2,5]D、[-1,2,5]

考题 What is the order of preference for these commands when all of them are applied to one neighbor in theBGP inbound filter direction?()A、prefix-list, route-map, filter-list, distribute listB、route-map, filter-list, prefix-list, distribute-listC、route-map, distribute-list, prefix-list, filter-listD、filter-list, prefix list, route-map, distribute listE、distribute list, prefix-list, route-map, fitter list

考题 ()注解拦截List类型的返回值,将返回值解析为JSON格式字符串

考题 以下对list的操作take说法正确的是vart=List(1,8,3,5,5);println(t.take(2))()A、打印列表的前2个元素,结果为List(1,8)B、打印列表的后2个元素,结果为List(5,5)C、打印列表的从下表2开始的所有元素,结果为List(3,5,5)D、以上答案都不对

考题 在scala中对于以下2个列表的操作,那些说法说法正确vart=List(1,2,3)vart2=List(4,5)()A、vart3=t++t2得到List(1,2,3,4,5)B、vart3=List.concat(t,t2)得到List(1,2,3,4,5)C、vart3=t:::t2得到List(1,2,3,4,5)D、vart3=t.:::(t2)得到List(1,2,3,4,5)

考题 表达式abs(-1)返回值是()A、-1B、0C、trueD、1

考题 list(map(lambdax,y:x*y,[1,2,3],[4,5,6]))输出结果为:()A、[6,10,12]B、[4,10,18]C、[5,7,9]D、报错

考题 R1 has correctly configured EIGRP to filter routes using a route map named question. The configuration that follows shows the entire route map and related configuration. Which of the following is true regarding the filtering action on prefix 10.10.10.0/24 in this case?() route - map question deny 10 match ip address 1 route - map question permit 20 match ip address prefix- list fred ! access - list 1 deny 10.10.10.0 0.0.0.255 ip prefix - list fred permit 10.10.10.0/23 le 25A、It will be filtered due to the deny action in route map clause 10B、It will be allowed because of the double negative (two deny references) in clause 10C、It will be permitted due to matching clause 20's reference to prefix - list freDD、 It will be filtered due to matching the implied deny all route map clause at the end of the route map

考题 单选题R1 has correctly configured EIGRP to filter routes using a route map named question. The configuration that follows shows the entire route map and related configuration. Which of the following is true regarding the filtering action on prefix 10.10.10.0/24 in this case?() route - map question deny 10 match ip address 1 route - map question permit 20 match ip address prefix- list fred ! access - list 1 deny 10.10.10.0 0.0.0.255 ip prefix - list fred permit 10.10.10.0/23 le 25A It will be filtered due to the deny action in route map clause 10B It will be allowed because of the double negative (two deny references) in clause 10C It will be permitted due to matching clause 20's reference to prefix - list freDD It will be filtered due to matching the implied deny all route map clause at the end of the route map

考题 单选题What is the order of preference for these commands when all of them are applied to one neighbor in theBGP inbound filter direction?()A prefix-list, route-map, filter-list, distribute listB route-map, filter-list, prefix-list, distribute-listC route-map, distribute-list, prefix-list, filter-listD filter-list, prefix list, route-map, distribute listE distribute list, prefix-list, route-map, fitter list

考题 填空题list(map(str,[1,2,3]))的执行结果为()。

考题 单选题list(map(lambdax,y:x*y,[1,2,3],[4,5,6]))输出结果为:()A [6,10,12]B [4,10,18]C [5,7,9]D 报错

考题 填空题()注解拦截List类型的返回值,将返回值解析为JSON格式字符串

考题 填空题表达式list(map(list,zip(*[[1,2,3],[4,5,6]])))的值为()。

考题 填空题表达式list(map(lambdax:x+5,[1,2,3,4,5]))的值为()。

考题 单选题表达式abs(-1)返回值是()A -1B 0C trueD 1