填空题 已知函数定义 def demo(x, y, op): return eval(str(x)+op+str(y)),那么表达式 demo(3,5,'+') 的值为【1】。
相关试题
单选题 下面代码的输出结果是 ()。 str1 = "mysqlsqlserverPostgreSQL" str2 = 'sql' ncount = str1.count(str2,10) print(ncount)
单选题 print('\t\\t\\r') 打印在屏幕上为 ()。
单选题 print(round(0.1+0.2,1)==0.3) 的输出结果是 ()。
单选题 从画布 c 删除图形对象 r,使用的命令是 ()。
单选题 int(3.14) 结果为 ()。
单选题 下面代码的输出结果是 ()。 a=5 b=6 c=7 print(pow(b,2)-4*a*c)
单选题 下列程序的输出结果是 ()。 try: x=1/2 except ZeroDivisionError: print('AAA')
单选题 关于 Python 程序格式框架,以下选项中描述错误的是 ()。