A = 1.0
当前位置:首页 > 初级Python开发工程师 > 正文内容

(单选题, )下面代码的输出结果是( )
A = 1.0

(单选题, )下面代码的输出结果是( )
A = 1.0
If isinstance(a,int):
print("{} is int".format(a))
Else:
print("{} is not int".format(a))

A.出错

B.1.0 is int

C.无输出

D.1.0 is not int

正确答案是D

扫描二维码免费使用微信小程序搜题/刷题/查看解析。

版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。

本文链接:https://www.20230611.cn/post/3213485.html