Skip to content

Commit

Permalink
fixed bug 72
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Del Core authored and Marco Del Core committed Dec 13, 2023
1 parent 64edc52 commit 91a2ac5
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 91a2ac5

Please sign in to comment.