Files
pplus-web/mojo/corpus/quest/starters/MQ_702.mojo
T
2026-10-05 03:03:38 +00:00

12 lines
192 B
Mojo

struct Waypoint(Copyable, Movable):
var x: Int
var y: Int
def __init__(out self, x: Int, y: Int):
self.x = x
def main():
var w = Waypoint(3, 7)
print("y:", w.y)