Demo entry 6642432



Submitted by anonymous on Sep 23, 2017 at 15:57
Language: Python. Code size: 350 Bytes.

def pokaz_argumenty(x, y, *args, **kwargs):
    print("x=%s, y=%s" % (x, y))
    print("Argumenty pozycyjne:", end=' ')
    for aa in args:
        print(aa, end=' ')
    print("\nArgumenty nazwane:", end=' ')
    for kk in kwargs:
        print("%s=%s" % (kk, kwargs[kk]), end=' ')

pokaz_argumenty('abc', 123, 456, 'def', k=789, m='ghi')

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).