This commit is contained in:
commit
568474d52f
1591 files changed
+528213
No files matched your search
Generated
+8
@@ -0,0 +1,8 @@
|
||||
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))
|
||||
Reference in new issue
Block a user