單項(xiàng)選擇題在Python中,如何生成一個范圍內(nèi)的數(shù)字列表?()

A.range()
B.arange()
C.numbers()
D.list()


您可能感興趣的試卷

你可能感興趣的試題

1.單項(xiàng)選擇題在Python中,如何關(guān)閉一個打開的文件?()

A.file.close()
B.file.end()
C.close(file)
D.file.exit()

2.單項(xiàng)選擇題在Python中,哪個模塊用于訪問網(wǎng)絡(luò)資源?()

A.net
B.urllib
C.requests
D.所有以上的選項(xiàng)

3.單項(xiàng)選擇題在Python中,如何創(chuàng)建一個新文件?()

A.open("filename","w")
B.open("filename","a")
C.create("filename")
D.new File("filename")

4.單項(xiàng)選擇題在Python中,哪個函數(shù)用于求解絕對值?()

A.abs()
B.fabs()
C.absolute()
D.pos()

5.單項(xiàng)選擇題在Python中,哪個模塊用于處理CSV文件?()

A.csv
B.readcsv
C.opencsv
D.pandas