no message

This commit is contained in:
陈银军
2025-12-04 13:46:06 +08:00
parent cc93dce428
commit 39444d26c8
58 changed files with 1 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
a=input("请输入您的年龄")
print(eval(a),type(a),type(eval('11')))
# type(a) 等价于 type('88'),即返回值为:<class 'str'>
print("--------------")
b="北京欢迎您!"
print(eval('b'),type(eval('b')))
print("--------------")
# print(eval(b))
# 500#报错