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))
2 Answers
+ 8
none -> None
+ 4
please save the code, share the link here and describe your issue. So that someone can try running it and solving your doubts