You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
144 B
13 lines
144 B
# 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))
|
|
|