Skip to content

Commit 1ee2282

Browse files
authored
Update var_test.py
1 parent 0e4d82c commit 1ee2282

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

exercise/var_test.py

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
# 变量
2+
name = '玛丽亚'
3+
print(name)
4+
print('标识', id(name))
5+
print('类型', type(name))
6+
print('值', name)
7+
28

39
def fun(a, b):
410
# 局部变量

0 commit comments

Comments
 (0)