Skip to content

Commit 978ecbb

Browse files
committed
1.测试python 面向对象
1 parent e15dd0a commit 978ecbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com/lxl/test/Sln_Demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def speak(self):
2626
# p1.age='18'
2727
# p1.name='bruce'
2828
# print(p1.speak())
29-
p2 = Person('李四','20')
29+
p2 = Person('李四','21')
3030
print(p2.speak())
3131

3232

0 commit comments

Comments
 (0)