Python-Quiz Nine (mooc)

1
1
point # the following options are not 0033003400340034003600321587046992156 Python game development direction of third-party libraries are:
Panda3D
cocos2d
PyGame
AIP
correct answer D
AIP is baidu AI function Python access interface.

2
1
min # 0033003400340034003600321587046992159 following options than the graphical user interface to a third party Python libraries are:
pygobject
Vizard
wxPython
PyQt5
correct answer B
Vizard virtual reality is a third-party libraries.

3
1
point # the following options are not 0033003400340034003600321587046992161 Python web crawler direction of third-party libraries are:
Requests
pyspider
Python-Goose
Scrapy
correct answer C
Python Web-Goose is extracted third party libraries.

4
1
minute # the following options are not 0033003400340034003600321587046992162 Python data analysis is the direction of third-party libraries:
SciPy
Numpy
Pandas
Scrapy
correct answer D
Scrapy web crawler library

5
1
minute # the following options are not 0033003400340034003600321587046992163 Python web application development direction of third-party libraries are:
AIP
WeRobot
numpy
MyQR
correct answer C
numpy is multi-dimensional data processing third-party libraries.

6
1
point # 0033003400340034003600321587046992163 following options than artificial intelligence direction Python third party libraries are:
MXNet
TensorFlow
Seaborn
Scikit-Learn
the correct answer C
Seaborn is a data visualization third-party libraries.

7
1
point # 0033003400340034003600321587046992165 the visual direction option is not Python data third-party libraries are:
Pyramid
Mayavi
Seaborn
Matplotlib
correct answer A
Pyramid is a Web development framework library.

8
1
point # the following options are not 0033003400340034003600321587046992169 Python text processing direction of third-party libraries are:
PyPDF2
Python-docx
pyovr
NLTK
correct answer C
pyovr is augmented reality development libraries.

9
1
point # the following options are not 0033003400340034003600321587046992171 Python Web information extraction direction of third-party libraries are:
Re
Beautiful Soup
Python-Goose
wxPython
correct answer D
wxPython is a GUI third-party libraries.

10
1
min. # the following options are not 0033003400340034003600321587046992171 Python web development framework for the direction of third-party libraries are:
Django
the Flask
Pyramid
redis-Py
correct answer D
redis redis-Py is a Python data access interface.

003600321587047008745
System basic information acquisition
Description
Obtain 3 information such as system recursion depth, current execution file path, system maximum UNICODE encoding value, and print out. output
format is as follows: RECLIMIT:
<depth>, EXEPATH: <file path>, UNICODE: <maximum code value> ‪‬‪‬‪‬‮‬‫‬‪‬‪‬‪‬‪‬‪‬‪‬‮‬‫‬‪
Tips: Please look for the above functions in the sys standard library.

import sys
def maxcode():
    OK = False
    n = 100
    while not OK:
        try:
            s = chr(n)
            n = n+1
        except:
            OK  =True
    return n-1
    
print("RECLIMIT:{}, EXEPATH:{}, UNICODE:{}".format(sys.getrecursionlimit(), sys.executable, maxcode()))

Two-dimensional data table output
Description
Tabulate can output two-dimensional data table, is Python's excellent third-party computing ecology. ‪‬‪‬‪‬‮‬‫‬‭‬‪‬‪‬‪‬‪‬‪‬‮‬‪‬‭‬

Refer to the data and code given in the programming template to write a program that can output table data with the following style effects.

from tabulate import tabulate
data = [ ["北京理工大学", "985", 2000], \
         ["清华大学", "985", 3000], \
         ["大连理工大学", "985", 4000], \
         ["深圳大学", "211", 2000], \
         ["沈阳大学", "省本", 2000], \
    ]
print(tabulate(data, tablefmt="grid"))

Published 29 original articles · praised 0 · visits 473

Guess you like

Origin blog.csdn.net/qq_43771959/article/details/105568710