| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/certik/lpython/main/tests/expr9.py | [Back] [Original] |
def test_return_1(a: i32) -> i32:
x: i32
x = 5
return x
def test_return_2(a: i32) -> str:
x: str
x = 'test'
return x
def test_return_3(a: i32) -> i32:
a = 3
return a
def test_return_4(a: i32):
a = 1
return
def main0():
i: i32
i = test_return_1(4)
s: str
s = test_return_2(4)
i = test_return_3(4)
test_return_4(4)
main0()
| Web Proxy Viewer | New URL | Original Page |