fonksiyon tanımlama
This commit is contained in:
parent
70f0138aca
commit
b846c759a9
1 changed files with 3 additions and 0 deletions
3
python-temel/yildiz.fonksiyon.tanimlama.py
Normal file
3
python-temel/yildiz.fonksiyon.tanimlama.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
def foo(a, b, *c, d = 100, e):
|
||||
print("a = {}, b = {}, c = {}, d = {}, e = {}".format(a, b, c, d, e))
|
||||
foo(10, 20, 30, 40, 50, e=60)
|
Loading…
Reference in a new issue