




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、Python程序設計題庫一、 填空題第一章 基礎(chǔ)知識1、 Python安裝擴展庫常用的是_工具。(pip)2、 Python標準庫math中用來計算平方根的函數(shù)是_。(sqrt)3、 Python程序文件擴展名主要有_和_兩種,其中后者常用于GUI程序。(py、pyw)4、 Python源代碼程序編譯后的文件擴展名為_。(pyc)5、 使用pip工具升級科學計算擴展庫numpy的完整命令是_。(pip install -upgrade numpy)6、 使用pip工具查看當前已安裝的Python擴展庫的完整命令是_。(pip list)7、 在IDLE交互模式中瀏覽上一條語句的快捷鍵是_。(A
2、lt+P)8、 在Python中_表示空類型。(None)9、 列表、元組、字符串是Python的_(有序無序)序列。(有序)10、 查看變量類型的Python內(nèi)置函數(shù)是_。(type())11、 查看變量內(nèi)存地址的Python內(nèi)置函數(shù)是_。(id())12、 以3為實部4為虛部,Python復數(shù)的表達形式為_或_。(3+4j、3+4J)13、 Python運算符中用來計算整商的是_。(ount(4) 的值為_。(0)14、 Python標準庫random中的_方法作用是從序列中隨機選擇1個元素。(choice())15、 Python標準庫random中的sample(seq, k)方法作用
3、是從序列中選擇_(重復不重復)的k個元素。(不重復)16、 random模塊中_方法的作用是將列表中的元素隨機亂序。(shuffle())17、 執(zhí)行代碼 x, y, z = sorted(1, 3, 2) 之后,變量y的值為_。(2)18、 表達式 (1, 2, 3)+(4, 5) 的值為_。((1, 2, 3, 4, 5))19、 表達式 dict(zip(1, 2, 3, 4) 的值為_。(1: 3, 2: 4)20、 語句 x, y, z = 1, 2, 3 執(zhí)行后,變量y的值為_。(2)21、 已知 x = 1,3,3, 2,3,1,那么表達式 sorted(x, key=lambd
4、a item:item0+item2) 的值為_。(2, 3, 1, 1, 3, 3)22、 已知 x = 1,3,3, 2,3,1,那么表達式 sorted(x, key=lambda item:(item1,item2) 的值為_。(2, 3, 1, 1, 3, 3)23、 已知 x = 1,3,3, 2,3,1,那么表達式 sorted(x, key=lambda item:(item1, -item2) 的值為_。(1, 3, 3, 2, 3, 1)24、 已知 x = 1, 2, 3,那么執(zhí)行語句 (3) 之后,x的值為_。(1, 2, 3)25、 已知 x = 1:1,那么執(zhí)行語句
5、 x2 = 2之后,len(x)的值為_。(2)26、 已知 x = 1:1, 2:2,那么執(zhí)行語句 x2 = 4之后,len(x)的值為_。(2)27、 假設已從標準庫functools導入reduce()函數(shù),那么表達式 reduce(lambda x, y: x-y, 1, 2, 3) 的值為_。(-4)28、 假設已從標準庫functools導入reduce()函數(shù),那么表達式 reduce(lambda x, y: x+y, 1, 2, 3) 的值為_。(6)29、 假設已從標準庫functools導入reduce()函數(shù),那么表達式reduce(lambda x,y:max(x,y
6、), 1,2,3,4,4,5)的值為_。(5)30、 已知有函數(shù)定義 def demo(*p):return sum(p),那么表達式 demo(1, 2, 3) 的值為_、表達式 demo(1, 2, 3, 4) 的值為_。(6、10)31、 已知列表 x = 1, 2,那么連續(xù)執(zhí)行命令 y = x和 (3) 之后,x的值為_。(1, 2, 3)32、 已知列表 x = 1, 2,那么連續(xù)執(zhí)行命令 y = x: 和 (3) 之后,x的值為_。(1, 2)33、 已知列表 x = 1, 2,執(zhí)行語句 y = x: 后,表達式 id(x) = id(y) 的值為_。(False)34、 已知列表
7、 x = 1, 2,執(zhí)行語句 y = x 后,表達式 id(x) = id(y) 的值為_。(True)35、 已知列表 x = 1, 2,執(zhí)行語句 y = x 后,表達式 x is y 的值為_。(True)36、 已知列表 x = 1, 2,執(zhí)行語句 y = x: 后,表達式 x is not y 的值為_。(True)37、 表達式 sorted(range(5), 5) 的值為_。(0, 1, 2, 3, 4)38、 表達式 i for i in range(10) if i8 的值為_。(9)39、 已知有列表 x = 1, 2, 3, 4, 5, 6,那么表達式 rowi for
8、row in x for i in range(len(x0) 的值為_。(1, 4, 2, 5, 3, 6)40、 執(zhí)行語句 x,y,z = map(str, range(3) 之后,變量y的值為_。(1)41、 已知列表 x = 1, 2,那么執(zhí)行語句 (3) 之后, x的值為_。(1, 2, 3)42、 已知列表 x = 1, 2,那么執(zhí)行語句 (3) 之后,x的值為_。(1, 2, 3)43、 表達式 print(0b10101) 的值為_。(21)44、 已知 x = 1, 2, 3, 4, 5,那么執(zhí)行語句 del x:3 之后,x的值為_。(4, 5)45、 已知 x = ran
9、ge(1,4) 和 y = range(4,7),那么表達式 sum(i*j for i,j in zip(x,y) 的值為_。(32)46、 表達式 5 for i in range(3) 的值為_。(5, 5, 5)47、 表達式 1, 2, 3 = 1, 3, 2 的值為_。(True)48、 表達式 1, 2, 3 = 1, 3, 2 的值為_。(False)49、 已知 x = 1, 2, 1,那么表達式 id(x0) = id(x2) 的值為_。(True)50、 表達式 3 not in 1, 2, 3的值為_。(False)51、 已知 x = 1, 2,那么執(zhí)行語句 x0:0
10、 = 3, 3之后,x的值為_。(3, 3, 1, 2)52、 已知 x = 1, 2,那么執(zhí)行語句 x0:1 = 3, 3之后,x的值為_。(3, 3, 2)53、 已知 x = 1, 2, 3, 4, 5,那么執(zhí)行語句 del x1:3 之后,x的值為_。(1, 4, 5)54、 已知 x = 1, 2, 3, 4, 5, 6,那么表達式 sum(i*j for i,j in zip(*x) 的值為_。(32)55、 已知列表 x = 1, 2, 3 和 y = 4, 5, 6,那么表達式 (i,j) for i, j in zip(x,y) if i=3 的值為_。((3, 6))56、
11、 已知列表 x = , , ,那么表達式 sum(x)/len(x) 的值為_。()57、 已知 x = 1:2, 2:3, 3:4,那么表達式 sum(x) 的值為_。(6)58、 已知 x = 1:2, 2:3, 3:4,那么表達式 sum() 的值為_。(9)59、 已知 x = 3, 2, 3, 3, 4,那么表達式 index for index, value in enumerate(x) if value=3 的值為_。(0, 2, 3)60、 表達式 1234%1000oin(item1 for item in () 的值為_。(345)61、 已知列表 x = 1, 3, 2
12、,那么表達式 value for index, value in enumerate(x) if index=2 的值為_。(2)62、 已知列表 x = 1, 3, 2,那么執(zhí)行語句 a, b, c = sorted(x) 之后,b的值為_。(2)63、 已知列表 x = 1, 3, 2,那么執(zhí)行語句 a, b, c = map(str,sorted(x) 之后,c的值為_。(3)64、 表達式 set(1,2,3) = 1, 2, 3 的值為_。(True)65、 表達式 set(1,2, 2,3) = 1, 2, 3 的值為_。(True)66、 表達式 %c%65 = str(65)
13、的值為_。(False)67、 表達式 %s%65 = str(65) 的值為_。(True)68、 表達式 chr(ord(b)32) 的值為_。(B)69、 表達式 abc in abdcefg 的值為_。(False)70、 已知x為整數(shù)變量,那么表達式 int(hex(x), 16) = x 的值為_。(True)71、 已知 x, y = 3, 5,那么執(zhí)行x, y = y, x 之后,x的值為_。(5)72、 已知 x = abcd 和 y = abcde,那么表達式 i=j for i,j in zip(x,y) 的值為_。(True, True, True, True)73、
14、已知x = list(range(20),那么表達式x-1的值為_。(19)74、 已知x = 3+4j和y = 5+6j,那么表達式x+y的值為_。(8+10j)75、 已知x = 3,那么執(zhí)行x += 5之后x的值為_。(3, 5)76、 已知x = 3, 3, 4,那么表達式id(x0)=id(x1)的值為_。(True)77、 表達式int(11, 2)的值為_。(3)78、 表達式int(11, 8)的值為_。(9)79、 表達式int(bin(54321), 2)的值為_。(54321)80、 表達式chr(ord(A)+1)的值為_。(B)81、 表達式int(str(34) =
15、 34的值為_。(True)82、 表達式list(str(3, 4) = 3, 4的值為_。(False)83、 表達式1, 2, 3, 4, 5, 6 5, 6, 7, 8的值為_。(1, 2, 3, 4, 7, 8)84、 表達式15 alues()的值為_。(3, 9, 78)85、 已知x = 3, 2, 4, 1,那么執(zhí)行語句x = ()之后,x的值為_。(None)86、 表達式list(filter(lambda x: x5, range(10)的值為_。(6, 7, 8, 9)87、 已知x = list(range(20),那么語句print(x100:200)的輸出結(jié)果為
16、_。()88、 已知x = list(range(20),那么執(zhí)行語句x:18 = 后列表x的值為_。(18, 19)89、 已知x = 1, 2, 3,那么連續(xù)執(zhí)行y = x:和(4)這兩條語句之后,x的值為_。(1, 2, 3)90、 已知x = 1, 2, 3,那么連續(xù)執(zhí)行y = x和(4)這兩條語句之后,x的值為_。(1, 2, 3, 4)91、 已知x = 1, 2, 3,那么連續(xù)執(zhí)行y = 1, 2, 3和(4)這兩條語句之后,x的值為_。(1, 2, 3)92、 已知x = * 3,那么執(zhí)行語句x0.append(1)之后,x的值為_。(1, 1, 1)93、 已知x = for
17、 i in range(3),那么執(zhí)行語句x0.append(1)之后,x的值為_。(1, , )94、 已知x = (1, 2),那么執(zhí)行語句x0.append(3)后x的值為_。((1, 3, 2))95、 已知x = 1:1, 2:2,那么執(zhí)行語句(2:3, 3:3)之后,表達式sorted()的值為_。((1, 1), (2, 3), (3, 3))96、 已知x = 1:1, 2:2,那么執(zhí)行語句x3 = 3之后,表達式sorted()的值為_。((1, 1), (2, 2), (3, 3))97、 已知x = 1, 2, 3,那么表達式not (set(x*100)-set(x)的
18、值為_。(True)98、 已知x = 1, 2, 3,那么表達式not (set(x*100)&set(x)的值為_。(False)99、 表達式x: 1, *y: 2的值為_。(x: 1, y: 2)100、 表達式*range(4), 4, *(5, 6, 7)的值為_。(0, 1, 2, 3, 4, 5, 6, 7)101、 已知 x = 1,2,3,4,5,那么執(zhí)行語句 x:2 = range(3) 之后,x的值為_。(0, 2, 1, 4, 2)102、 已知 x = 1,2,3,4,5,那么執(zhí)行語句 x:2 = map(lambda y:y!=5,range(3) 之后,x的值為
19、_。(True, 2, True, 4, True)103、 已知 x = 1,2,3,4,5,那么執(zhí)行語句 x1:2 = sorted(x1:2, reverse=True) 之后,x的值為_。(1, 4, 3, 2, 5)104、 表達式 True*3 的值為_。(3)105、 表達式 False+1 的值為_。(1)第3章 選擇結(jié)構(gòu)與循環(huán)結(jié)構(gòu)106、 表達式 ab in acbed 的值為_。(False)107、 假設n為整數(shù),那么表達式 n&1 = n%2 的值為_。(True)108、 關(guān)鍵字_用于測試一個對象是否是一個可迭代對象的元素。(in)109、 表達式 32 的值為_。(
20、True)110、 已知 x = a:b, c:d,那么表達式 a in x 的值為_。(True)111、 已知 x = a:b, c:d,那么表達式 b in x 的值為_。(False)112、 已知 x = a:b, c:d,那么表達式 b in () 的值為_。(True)113、 表達式 126 else (6 if 32 else 5) 的值為_。(6)125、 Python關(guān)鍵字elif表示_和_兩個單詞的縮寫。(else、if)126、 表達式 3 in 1, 2, 3 的值為_。(True)127、 表達式 ac in abce 的值為_。(False)128、 表達式 n
21、ot 3 的值為_。(False)第4章 字符串與正則表達式129、 表達式 abc in (abcdefg) 的值為_。(True)130、 表達式 abc in abcdefg 的值為_。(False)131、 表達式 x41 = A 的值為_。(True)132、 Python語句.join(list(hello world!)執(zhí)行的結(jié)果是_。(hello world!)133、 轉(zhuǎn)義字符rn的含義是_。(回車換行)134、 已知列表對象x = 11, 2, 3,則表達式 max(x) 的值為_。(3)135、 表達式 min(11, 2, 3) 的值為_。(11)136、 已知列表對象
22、x = 11, 2, 3,則表達式max(x, key=len) 的值為_。(11)137、 已知 path = rc:,那么表達式 path:-4+htm 的值為_。(c:)138、 表達式 list(str(1,2,3) = 1,2,3 的值為_。(False)139、 表達式 str(1, 2, 3) 的值為_。(1, 2, 3)140、 表達式 str(1, 2, 3) 的值為_。((1, 2, 3))141、 表達式 sum(range(1, 10, 2) 的值為_。(25)142、 表達式 sum(range(1, 10) 的值為_。(45)143、 表達式 %c%65 的值為_。
23、(A)144、 表達式 %s%65 的值為_。(65)145、 表達式 %d,%c % (65, 65) 的值為_。(65,A)146、 表達式 The first:1, the second is 0.format(65,97) 的值為_。(The first:97, the second is 65)147、 表達式 0:#d,0:#x,0:#o.format(65) 的值為_。(65,0x41,0o101)148、 表達式 isinstance(abcdefg, str) 的值為_。(True)149、 表達式 isinstance(abcdefg, object) 的值為_。(True
24、)150、 表達式 isinstance(3, object) 的值為_。(True)151、 表達式 abcabcabc.rindex(abc) 的值為_。(6)152、 表達式 :.join(abcdefg.split(cd) 的值為_。(ab:efg)153、 表達式 Hello world. I like Python.rfind(python) 的值為_。(-1)154、 表達式 abcabcabc.count(abc) 的值為_。(3)155、 表達式 ,banana,pear.find(p) 的值為_。(1)156、 表達式 ,banana,pear.find(ppp) 的值為_
25、。(-1)157、 表達式 abcdefg.split(d) 的值為_。(abc, efg)158、 表達式 :.join(1,2,3,4,5.split(,) 的值為_。(1:2:3:4:5)159、 表達式 ,.join(a b cccnnnddd .split() 的值為_。(a,b,ccc,ddd)160、 表達式 Hello world.upper() 的值為_。(HELLO WORLD)161、 表達式 Hello world.lower() 的值為_。(hello world)162、 表達式 Hello world.lower().upper() 的值為_。(HELLO WOR
26、LD)163、 表達式 Hello world.swapcase().swapcase() 的值為_。(Hello world)164、 表達式 rc:windows.endswith(.exe) 的值為_。(True)165、 表達式 rc:windows.endswith(.jpg, .exe) 的值為_。(True)166、 表達式 C:Windows.startswith(C:) 的值為_。(True)167、 表達式 len(Hello world!.ljust(20) 的值為_。(20)168、 表達式 len(abcdefg.ljust(3) 的值為_。(7)169、 表達式 a
27、 + b 的值為_。(ab)170、 已知 x = 123 和 y = 456,那么表達式 x + y 的值為_。(123456)171、 表達式 a.join(abc.partition(a) 的值為_。(aaabc)172、 表達式 (.+, .gamma.delta) 的值為_。(alpha, beta, gamma, delta)173、 已知 x = a234b123c,并且re模塊已導入,則表達式 (d+, x) 的值為_。(a, b, c)174、 表達式 .join(asdssfff.split(sd) 的值為_。(assfff)175、 表達式 .join(sd,asdssf
28、ff) 的值為_。(afff)176、 假設re模塊已導入,那么表達式 (d)1+, 33abcd112) 的值為_。(3, 1)177、 語句 print(abc, defg) 輸出結(jié)果為_。(None)178、 表達式 Hello world!-4 的值為_。(r)179、 表達式 Hello world!-4: 的值為_。(rld!)180、 表達式 .endswith(.py, .pyw) 的值為_。(True)181、 表達式 len(abc.ljust(20) 的值為_。(20)182、 代碼 print(a-zA-Z+$,abcDEFG000) 的輸出結(jié)果為_。(None)183
29、、 當在字符串前加上小寫字母_或大寫字母_表示原始字符串,不對其中的任何字符進行轉(zhuǎn)義。(r、R)184、 在設計正則表達式時,字符_緊隨任何其他限定符(*、+、?、n、n,、n,m)之后時,匹配模式是“非貪心的”,匹配搜索到的、盡可能短的字符串。(?)185、 假設正則表達式模塊re已導入,那么表達式 (d+, 1, a12345bbbb67c890d0e) 的值為_。(a1bbbb1c1d1e)186、 表達式 len(中國.encode(utf-8) 的值為_。(6)187、 表達式 len(中國.encode(gbk) 的值為_。(4)188、 表達式 chr(ord(A)+2) 的值為
30、_。(C)189、 表達式 abcab.replace(a,yy) 的值為_。(yybcyyb)190、 已知 table = .maketrans(abcw, xyzc),那么表達式 Hellow world.translate(table) 的值為_。(Helloc corld)191、 表達式 hello world, hellow every one.replace(hello, hi) 的值為_。(hi world, hiw every one)192、 已知字符串 x = hello world,那么執(zhí)行語句 (hello, hi) 之后,x的值為_。(hello world)19
31、3、 正則表達式元字符_用來表示該符號前面的字符或子模式1次或多次出現(xiàn)。(+)194、 已知 x = a b c d,那么表達式 ,.join() 的值為_。(a,b,c,d)195、 正則表達式元字符_用來表示該符號前面的字符或子模式0次或多次出現(xiàn)。(*)196、 表達式 abcab.strip(ab) 的值為_。(c)197、 表達式 str(i) for i in range(3) 的值為_。(0, 1, 2)198、 表達式 .endswith(.txt, .doc, .jpg) 的值為_。(True)199、 代碼 print(1,2,3,sep=:) 的執(zhí)行結(jié)果為_。(1:2:3)
32、200、 代碼 for i in range(3):print(i, end=,) 的執(zhí)行結(jié)果為_。(0,1,2,)201、 表達式 eval(_import_(math).sqrt(9) 的值為_。()202、 表達式 eval(_import_(math).sqrt(3*2+4*2) 的值為_。()203、 表達式 eval(3+5) 的值為_。(8)204、 表達式 eval(1, 2, 3) 的值為_。(1, 2, 3)205、 假設math標準庫已導入,那么表達式 eval(4) 的值為_。()206、 已知x為非空列表,那么表達式 (x) in x 的值為_。(True)207、
33、表達式 abc10.isalnum() 的值為_。(True)208、 表達式 abc10.isalpha() 的值為_。(False)209、 表達式 abc10.isdigit() 的值為_。(False)210、 表達式 C:windows.endswith(.exe) 的值為_。(True)211、 表達式 %s%1,2,3 的值為_。(1, 2, 3)212、 表達式 aaasdf.lstrip(as) 的值為_。(df)213、 表達式 aaasdf.lstrip(af) 的值為_。(sdf)214、 表達式 aaasdf.strip(af) 的值為_。(sd)215、 表達式 a
34、aasdf.rstrip(af) 的值為_。(aaasd)216、 表達式 len(SDIBT) 的值為_。(5)217、 表達式 Hello world!.count(l) 的值為_。(3)218、 已知 x = abcdefg,則表達式 x3: + x:3 的值為_。(defgabc)219、 字符串編碼格式UTF8使用_個字節(jié)表示一個漢字。(3)220、 字符串編碼格式GBK使用_個字節(jié)表示一個漢字。(2)221、 已知字符串編碼格式utf8使用3個字節(jié)表示一個漢字、1個字節(jié)表示英語字母,那么表達式len(abc你好)的值為_。(5)222、 已知字符串編碼格式utf8使用3個字節(jié)表示一
35、個漢字、1個字節(jié)表示英語字母,那么表達式len(abc你好.encode()的值為_。(9)223、 已知字符串編碼格式gbk使用2個字節(jié)表示一個漢字、1個字節(jié)表示英語字母,那么表達式len(abc你好.encode(gbk)的值為_。(7)224、 已知ord(A)的值為65并且hex(65)的值為0x41,那么表達式x41b的值為_。(Ab)225、 已知formatter = good 0.format,那么表達式list(map(formatter, morning)的值為_。(good morning)226、 已知x = hello world.,那么表達式(x)和(x)的值都為_
36、。(-1)227、 表達式:.join(hello world.split()的值為_。(hello:world.)228、 表達式:.join(a b c d.split(maxsplit=2)的值為_。(a:b:c d)229、 已知x = hello world,那么表達式(l, g)的值為_。(heggo worgd)230、 假設已成功導入Python標準庫string,那么表達式len的值為_。(10)231、 表達式aaaassddf.strip(af)的值為_。(ssdd)232、 表達式len(aaaassddf.strip(afds)的值為_。(0)233、 表達式len(
37、hello world100:)的值為_。(0)234、 表達式chr(ord(a)3232)的值為_。(a)235、 表達式chr(ord(a)32)的值為_。(A)236、 已知x = aa b ccc dddd,那么表達式.join(v for i,v in enumerate(x:-1) if v=xi+1)的值為_。(accddd)237、 假設正則表達式模塊re已正確導入,那么表達式.join(d+, abcd1234)的值為_。(1234)238、 假設正則表達式模塊re已正確導入,那么表達式(d+?, abcd1234)的值為_。(1, 2, 3, 4)239、 假設正則表達式
38、模塊re已正確導入,那么表達式(.s)1+, 1,a a a a a bb)的值為_。(a bb)240、 表達式 eval(*.join(map(str, range(1, 6) 的值為_。(120)241、 正則表達式模塊re的_方法用來編譯正則表達式對象。(compile())242、 正則表達式模塊re的_方法用來在字符串開始處進行指定模式的匹配。(match())243、 正則表達式模塊re的_方法用來在整個字符串中進行指定模式的匹配。(search())244、 表達式 (rw*?(?Pbw+b)s+(?P=f)w*?, Beautiful is is better than ug
39、ly.).group(0) 的值為_。(is is)245、 表達式 Beautiful is better than ugly.startswith(Be, 5) 的值為_。(False)246、 已知字典 x = i:str(i+3) for i in range(3),那么表達式 .join() 的值為_。(345)第5章 函數(shù)定義與使用247、 Python中定義函數(shù)的關(guān)鍵字是_。(def)248、 在函數(shù)內(nèi)部可以通過關(guān)鍵字_來定義全局變量。(global)249、 如果函數(shù)中沒有return語句或者return語句不帶任何返回值,那么該函數(shù)的返回值為_。(None)250、 表達式
40、sum(range(10) 的值為_。(45)251、 表達式 sum(range(1, 10, 2) 的值為_。(25)252、 表達式 list(filter(None, 0,1,2,3,0,0) 的值為_。(1, 2, 3)253、 表達式 list(filter(lambda x:x2, 0,1,2,3,0,0) 的值為_。(3)254、 表達式 list(range(50, 60, 3) 的值為_。(50, 53, 56, 59)255、 表達式 list(filter(lambda x: x%2=0, range(10) 的值為_。(0, 2, 4, 6, 8)256、 表達式 l
41、ist(filter(lambda x: len(x)3, a, b, abcd) 的值為_。(abcd)257、 已知 g = lambda x, y=3, z=5: x*y*z,則語句 print(g(1) 的輸出結(jié)果為_。(15)258、 表達式 list(map(lambda x: len(x), a, bb, ccc) 的值為_。(1, 2, 3)259、 已知 f = lambda x: x+5,那么表達式 f(3) 的值為_。(8)260、 表達式 sorted(abc, acd, ade, key=lambda x:(x0,x2) 的值為_。(abc, acd, ade)261、 已知函數(shù)定義def demo(x, y, op):return eval(str(x)+op+str(y),那么表達式demo(3, 5, +)的值為_。(8)262、 已知函數(shù)定義def demo(x, y, op):return eval(str(x)+op+str(y),那么表達式demo(3, 5, *)的值為_。(15)263、 已知函數(shù)定義def demo(x, y, op):re
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 二零二五年度包裝材料行業(yè)市場調(diào)研與銷售服務合同
- 沈陽建筑大學《智能優(yōu)化計算》2023-2024學年第二學期期末試卷
- 遼寧省交通高等??茖W?!督處熃虒W語言藝術(shù)》2023-2024學年第二學期期末試卷
- 上海立達學院《古代雕塑研究》2023-2024學年第二學期期末試卷
- 濰坊護理職業(yè)學院《魚類繁殖與育種概論》2023-2024學年第二學期期末試卷
- 新鄉(xiāng)職業(yè)技術(shù)學院《科技文獻閱讀》2023-2024學年第二學期期末試卷
- 西藏警官高等專科學?!痘ぴO計A》2023-2024學年第二學期期末試卷
- 青島大學《中國當代文學專題》2023-2024學年第二學期期末試卷
- 2025年度時尚消費品代理進口及市場布局合同
- 二零二五年度退休科研人員合作研發(fā)聘用合同
- 三角形的內(nèi)角和-課件
- 國企工程施工分包管理2019(67P+PPT)
- 成人大專畢業(yè)論文怎么寫(通用6篇)
- 醫(yī)院高壓氧艙室施工方案
- 質(zhì)量問題檢出獎勵申請表模板
- 中職學生日常行為規(guī)范主題班會講稿
- 《大數(shù)據(jù)分析與應用》教學大綱
- 2022年中國遠洋海運集團有限公司招聘考試題庫及答案解析
- 供應鏈管理課件第5章供應鏈合作伙伴選擇與評價
- 4D現(xiàn)場管理培訓ppt課件(PPT 45頁)
- 餐飲店面投資預算(900平方米)
評論
0/150
提交評論