kuroko/test/testWeirdIndentCase.krk
2021-01-17 16:52:38 +09:00

18 lines
343 B
Python

def test(val):
if val:
print("In if")
# Comment
# val -= int(val / max) * max
return val
print("Result:", test(True))
print("result:", test(False))
def test2(val):
try:
print("This has a comment on the next line.", val)
# That could have been an else.
return val
print("Result:", test2(True))