mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-04-29 20:26:07 -04:00
18 lines
210 B
Python
Executable File
18 lines
210 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
__author__ = "bt3"
|
|
|
|
def simple2(a, *args):
|
|
print args
|
|
|
|
def simple(*args):
|
|
print args
|
|
|
|
def simple3(**kwargs):
|
|
print kwargs
|
|
|
|
|
|
simple(1, 2, 3)
|
|
simple2(1, 2, 3)
|
|
simple3(x=1, y=2)
|