a=24b=6print(a*b)输出4
举一反三
- a=36b=6print(a/b)输出 6
- 有如下程序,运行后的输出结果是 ______。 a = 5 If a <= 3 Then Print 3; End If If a <= 4 Then Print 4; End If If a <= 5 Then Print 5; End If If a <= 6; Print 6; End If A: 3456 B: 456 C: 56 D: 6
- a=19b=6print(a%b)输出3
- 如下代码可以实现当仅输入6的时候输出x=6,仅输入4的时候输出x=4,仅输入1的时候输出x=1x=int(input())if x>;=5:print("x=6")elifx>;=4:print("x=4")else:print("x=1")
- 程序段如下:import jsondt = {'b':2,'c':4,'a':6}s1 = json.dumps(dt)print(s1)print函数输出的结果是( ) A: {"a":6,"b":2,"c":4} B: {"a":6,"b":2,"c":4} C: {2, 4, 6} D: {"b","c" ,"a"}