<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">"""
Module to demonstrate two attempts at swapping and method calls
"""

import shapes

def swap_x(p, q):
    t = p.x
    p.x = q.x
    q.x = t

def swap(p, q):
    t = p
    p = q
    q = t

p = shapes.Point3(1,2,3)
q = shapes.Point3(3,4,5)
swap_x(p, q)

pp = shapes.Point3(11,22,33)
qq = shapes.Point3(33,44,55)
swap(p, q)

p.greet()
pp.greet()
</pre></body></html>