7 lines
148 B
Mojo
7 lines
148 B
Mojo
# probe: what does atol raise on text that is not a number?
|
|
def main():
|
|
try:
|
|
print(atol("x1"))
|
|
except e:
|
|
print("error:", e)
|