0

Python err??? why??

def packer(name=None, **kwargs): print(kwargs) def unpacker(first_name=None, last_name=None ): if first_name and last_name: print("hi {} {}!".format(first_name, last_name)) else: print("hi no name dude ") packer(name="kenneth", num=42, spanish_inquisition=none) unpacker(**{"last_name": "love", "first_name": "kenneth"} ) course_minutes = {"Python basics": 232, "Django Basics": 237, "flask Basics": 189, "Java Basics": 133} for course, minutes in course_minutes.items(): print("{} is {} minutes long".format(course, minutes))

20th Nov 2018, 6:09 PM
Shmuel israel Zilberman
Shmuel israel Zilberman - avatar
2 Answers
+ 8
none -> None
20th Nov 2018, 6:29 PM
Mert Yazıcı
Mert Yazıcı - avatar
+ 4
please save the code, share the link here and describe your issue. So that someone can try running it and solving your doubts
20th Nov 2018, 6:17 PM
Zoetic_Zeel
Zoetic_Zeel - avatar