Skip to content

Commit 831e429

Browse files
committed
demo.py
1 parent 4c719bd commit 831e429

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

section4/demo.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,9 @@
1515

1616
v = pydemo.use_list([1,2,3])
1717
print(v)
18+
19+
p = pydemo.Point(999)
20+
print(p.get())
21+
22+
p.set(1984)
23+
assert(p.get() == 1984);

0 commit comments

Comments
 (0)