Subash Chandran posted: "# dictionary parameters keys = ['a', 'b', 'c'] values = [1, 2, 3] # create dictionary func. def create_dictionary(keys, values): result = {} # empty dictionary for key, value in zip(keys, values): result[key] = value return result # us"
|

No comments:
Post a Comment
Note: Only a member of this blog may post a comment.