mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-19 19:10:17 +00:00
...
This commit is contained in:
parent
bc991249b9
commit
6ba0aff3a4
@ -56,12 +56,9 @@ def add(a, b):
|
||||
class A:
|
||||
def __init__(self, x):
|
||||
self.x = x
|
||||
|
||||
def get(self):
|
||||
return self.x
|
||||
|
||||
|
||||
|
||||
print('ans_1:', add(1, 2))
|
||||
print('ans_2:', A('abc').get())
|
||||
exit()
|
||||
|
Loading…
x
Reference in New Issue
Block a user