Skip to content

Commit

Permalink
Merge pull request #53 from MarcoDelCore/issue-BUG072
Browse files Browse the repository at this point in the history
fixed bug 72, ottimo lavoro!
  • Loading branch information
edoardocolella authored Dec 13, 2023
2 parents d6ad17d + 91a2ac5 commit 9cb400d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/BUG/structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ def create_dictionary(keys: list, values: list) -> dict:
"""
BUG072: create_dictionary should create a dictionary from the given keys and values, not concatenating them.
"""
result = keys + values
result = dict()
for i in range(0, len(keys)):
result[keys[i]] = values[i]
return result


Expand Down

0 comments on commit 9cb400d

Please sign in to comment.