no message
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
a=input("请输入您的年龄")
|
||||
print(eval(a),type(a),type(eval(a)))
|
||||
print(eval(a),type(a),type(eval('11')))
|
||||
# type(a) 等价于 type('88'),即返回值为:<class 'str'>
|
||||
print("--------------")
|
||||
b="北京欢迎您!"
|
||||
|
||||
@@ -12,6 +12,7 @@ a='''
|
||||
9
|
||||
10
|
||||
11
|
||||
12
|
||||
'''
|
||||
# file=fp 将打开的文件赋给fp
|
||||
print(a,file=fp)
|
||||
|
||||
@@ -10,4 +10,5 @@
|
||||
9
|
||||
10
|
||||
11
|
||||
12
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
# pass 表示空语句,。没有实际作用
|
||||
for i in 'chenxuan':
|
||||
pass
|
||||
Reference in New Issue
Block a user