Files
pplus-library/mojo/corpus/quest/starters/MQ_401.mojo
T
alexm 568474d52f
Test (in pplus-core) / in-core (push) Failing after 28m44s
Initial commit
2026-11-12 22:23:48 -05:00

9 lines
198 B
Mojo
Generated

def validate_velocity(n: Int) -> Int:
if n <= 0:
pass # TODO: reject the invalid velocity by raising an Error
return n
def main():
print("Validated:", validate_velocity(256))