fonksiyon tanımlama

This commit is contained in:
Mert Gör ☭ 2023-05-24 14:01:57 +03:00
parent 70f0138aca
commit b846c759a9
No known key found for this signature in database
GPG Key ID: 2100A876D55B39B9
1 changed files with 3 additions and 0 deletions

View 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)