feat: move corpus to library
This commit is contained in:
1301 files changed
+941859
-4
No files matched your search
Generated
+8
@@ -0,0 +1,8 @@
|
||||
def make_drive[num_motors: Int]() -> Int:
|
||||
# The drive train must pair motors across an even motor count.
|
||||
comptime assert num_motors % 2 == 0, "num_motors must be even"
|
||||
return num_motors * 64
|
||||
|
||||
|
||||
def main():
|
||||
print("Drive slots:", make_drive[7]())
|
||||
Reference in new issue
Block a user