Move tests in basic/tests/ up one level preparating to multiple test dirs.
This commit is contained in:
10
tests/basics/fun2.py
Normal file
10
tests/basics/fun2.py
Normal file
@@ -0,0 +1,10 @@
|
||||
# calling a function from a function
|
||||
|
||||
def f(x):
|
||||
print(x + 1)
|
||||
|
||||
def g(x):
|
||||
f(2 * x)
|
||||
f(4 * x)
|
||||
|
||||
g(3)
|
||||
Reference in New Issue
Block a user