mirror of
https://github.com/erg-lang/erg.git
synced 2025-10-02 05:31:11 +00:00
7 lines
122 B
Python
7 lines
122 B
Python
add x, y =
|
|
x + y
|
|
|
|
print! add(1, 1)
|
|
print! add(1.0, 1)
|
|
print! add("a", "b")
|
|
print! add("a", 1) # this will be an error
|