functions
This commit is contained in:
parent
d70241b557
commit
eb09b29a79
2
function.2.py
Normal file
2
function.2.py
Normal file
|
@ -0,0 +1,2 @@
|
|||
def bar(a, b, c):
|
||||
print(a, b, c)
|
1
function.3.py
Normal file
1
function.3.py
Normal file
|
@ -0,0 +1 @@
|
|||
def foo(): print('bir'); print('iki'); print('üç')
|
2
function.4.py
Normal file
2
function.4.py
Normal file
|
@ -0,0 +1,2 @@
|
|||
def foo():
|
||||
pass
|
3
function.5.py
Normal file
3
function.5.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
def foo():
|
||||
print('foo first');
|
||||
print(type(foo)) # <class 'function'>
|
5
function.6.py
Normal file
5
function.6.py
Normal file
|
@ -0,0 +1,5 @@
|
|||
def foo():
|
||||
print('foo')
|
||||
|
||||
def foo():
|
||||
print('diğer foo')
|
9
function.7.py
Normal file
9
function.7.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
def foo():
|
||||
print('foo first')
|
||||
|
||||
foo()
|
||||
|
||||
def foo():
|
||||
print('foo second')
|
||||
|
||||
foo()
|
2
function.py
Normal file
2
function.py
Normal file
|
@ -0,0 +1,2 @@
|
|||
def foo():
|
||||
print('I am foo')
|
Loading…
Reference in New Issue
Block a user