测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

PROBLEM SET

题库

按难度与知识点筛选,找到适合的练习题。

共 67434 题
重置

题目列表

共 67434 题
A52319 用户可以选择不同的环境运行Python代码。 电子学会-Python-L1 -- 容易 -- A52320 break可以跳出当前循环语句。 电子学会-Python-L1 -- 容易 -- A52321 Python中所有保留字首字母都是小写。 电子学会-Python-L1 -- 容易 -- A52322 a = sum([0,2,3,5])输出a的值是2.5。 电子学会-Python-L1 -- 容易 -- A52323 import sys可以引入Python标准库中的sys模块。 电子学会-Python-L1 -- 容易 -- A52324 Python解释器只有一种。 电子学会-Python-L1 -- 容易 -- A52325 print()添加end=""可以使输出不换行。 电子学会-Python-L1 -- 容易 -- A52326 input()函数总是将用户的输入作为字符串型数据。 电子学会-Python-L1 -- 容易 -- A52327 Python中单行注释以@开头。 电子学会-Python-L1 -- 容易 -- A52328 Python使用缩进来表示代码之间的包含和层次关系。 电子学会-Python-L1 -- 容易 -- A52329 使用 from turtle import * 调用turtle库后,能够控制画笔移动的语句是( )。 电子学会-Python-L1 -- 容易 -- A52330 运行下方代码段,下列叙述正确的是( )。x = float(input())print(round(x, 2)) 电子学会-Python-L1 -- 容易 -- A52331 下列能填入①处的是( ) for i in ① : print(i) 电子学会-Python-L1 -- 容易 -- A52332 运行下列代码段,变量a不为3的是( )。 电子学会-Python-L1 -- 容易 -- A52333 在Python中,使变量b的值加1的语句是( )。 电子学会-Python-L1 -- 容易 -- A52334 运行下方代码段,输出的结果是( )。import turtleturtle.pensize(3)for i in range(1,5): r=i*20 turtle.circle(r)turtle.done() 电子学会-Python-L1 -- 容易 -- A52336 下列与第二行代码作用相同的是( )。a = [1, 2, 5, 6]t=a[0]for i in a: if t > i: t=iprint(i) 电子学会-Python-L1 -- 容易 -- A52339 运行下方代码段,输出的是( )。s = 1 for i in range(5): if i == 4: continue s = i * s print(s) 电子学会-Python-L1 -- 容易 -- A52347 下列数值填入①处后,不能输出a的是( )。 if _①__: print(“a”) 电子学会-Python-L1 -- 容易 -- A52353 运行下方代码段,输出是6,则输入的可能是( )。a = eval(input())print(a) 电子学会-Python-L1 -- 容易 --