更多Python练习题试题
- 1下面代码的输出结果是( ) li = ["hello",se,[["m","n"],["h","kelly"],all],123,446] print(li[2][1][1])
- 2已知变量定义 x = 1,2,3; 表达式 type(x) 的值为 tuple
- 3关于字符串的描述,正确的是()。
- 4下面代码的输出结果是( ) a = 2 b = 2 c = 2.0 print(a == b, a is b, a is c)
- 5当键盘输入“3”的时候,以下程序的输出结果是( )。r=float(input("请输入半径:"))、area=3.1415*r*rprint("{:.0f}".format(area))