mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 12:24:45 +00:00
5 lines
108 B
Python
5 lines
108 B
Python
f x: Int, y: Int := 1, z: Nat := 2 = x + y + z
|
|
|
|
assert f(1) == 4
|
|
assert f(1, 2) == 5
|
|
assert f(1, 2, 3) == 6
|