isimli argümanlar
This commit is contained in:
parent
20903123fc
commit
afc59c69ab
3
python-temel/isimli.argumanlar.py
Normal file
3
python-temel/isimli.argumanlar.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
def foo(a, b, c = 10, d = 20, e = 30, f = 40):
|
||||
print("a = {}, b = {}, c = {}, d = {}, e = {}, f = {}".format(a, b, c, d, e, f))
|
||||
foo(1, 2, 3, f = 100) # Burada boşuna d ve e için argüman girişi yapmadık
|
Loading…
Reference in New Issue
Block a user