mirror of
https://github.com/licsber/micropython.git
synced 2024-09-20 09:00:23 +08:00
af43565322
The aim here is to improve coverage of the code.
14 lines
144 B
Python
14 lines
144 B
Python
# test return statement
|
|
|
|
def f():
|
|
return
|
|
print(f())
|
|
|
|
def g():
|
|
return 1
|
|
print(g())
|
|
|
|
def f(x):
|
|
return 1 if x else 2
|
|
print(f(0), f(1))
|