0

Python err??? why??

def paker(name=None, **kwargs): print(kwargs) def unpacker(first_name=None, last_name=None ): if first_name and last_name: packer(name="kenneth", num=42, spanish_inquisition=none)

15th Nov 2018, 6:48 PM
Shmuel israel Zilberman
Shmuel israel Zilberman - avatar
2 Antworten
+ 8
1: You definded "paker" function but you called "packer" 2: You didn't indent after if 3: none -> None
15th Nov 2018, 6:53 PM
Mert Yazıcı
Mert Yazıcı - avatar