normal ve tek yıldız parametre

This commit is contained in:
Mert Gör ☭ 2023-05-24 09:33:07 +03:00
parent ba0c7b4b2f
commit edbf11107d
No known key found for this signature in database
GPG Key ID: 2100A876D55B39B9
1 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,4 @@
def foo(a, *b):
print('a = {}, b = {}'.format(a, b))
foo(10, 20, 30)