简答题创建列表时,用()标识 A、[] B、{} C、() D、简答题在pygame.display模块的常用方法里面,用于将整个待显示的图片更新到频幕上的是()? A、pygame.display.set_mode() B、pygame.display.get_surface() C、pygame.display.flip() D、pygame.display.init()简答题下面说法错误的是( ) A、turtle.pensize():设置画笔的宽度 B、turtle.pencolor():设置画笔的颜色 C、turtle.speed():设置画笔移动速度 D、turtle.distance():设置画笔移动距离简答题python表达式sqrt(4)* sqrt(9)的值为( ) A、36.0 B、1296.0 C、13.0 D、6.0简答题要实现单行动态刷新的进度条效果,可以在spyder上运行代码()简答题当调用turtle.speed()函数时,取值为( ),运动速度最快? A、0 B、1 C、10 D、100简答题绘制艺术词云图必须要设置的参数是( ) A、mask B、font_path C、stopwords D、width简答题使用程序语句wordcloud.WordCloud.to_file(filename)将词云输出为图像文件时,图像文件的格式只能是.jpg()简答题程序语句 random.randint(a,b)所生成的随机数n的取值范围是() A、a B、a C、a D、a简答题能够使用turtle库绘制一个半圆形的是( ) A、turtle.circle(180, 0) B、turtle.circle(90, -90) C、turtle.circle(90, 90) D、turtle.circle(180, -180)简答题实现文本进度条的代码如下所示: import time number=0 start="**" dot=".." print("-----执行开始-----") for i in range(11): print("%{:^3}[{}->{}]".format(number, i*start,dot*(10-i))) number+=10 time.sleep(0.1) print("-----执行结束-----") 其中一行代码time.sleep(0.1)的作用是( ) A、函数推迟调用线程的运行,表示进程挂起的时间为0.1秒 B、整个代码的最终运行效果显示出来之前停止进程0.1秒 C、函数推迟调用线程的运行,表示进程挂起的时间最少为0.1秒 D、代码运行到此步时,time模块停止作用0.1秒简答题generate(txt)可向WordCloud对象中加载文本txt()简答题如何在python里让时间暂定( ) A、time.Sleep( ) B、time.sleep( ) C、pygame.sleep( ) D、pygame.Sleep( )
上一页9 / 9下一页