Files
pplus-library/mojo/corpus/quest/starters/MQ_401.mojo
T
2026-10-06 09:57:04 -04: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))