no message
This commit is contained in:
@@ -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#报错
|
||||
Reference in New Issue
Block a user