From 3b48c04470e2c368ba18716bb789b40942d6989f Mon Sep 17 00:00:00 2001 From: Priyansh Date: Thu, 9 Dec 2021 03:01:49 -0500 Subject: changed project structure --- functions/array_functions.py | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 functions/array_functions.py (limited to 'functions/array_functions.py') diff --git a/functions/array_functions.py b/functions/array_functions.py new file mode 100644 index 0000000..be15abd --- /dev/null +++ b/functions/array_functions.py @@ -0,0 +1,3 @@ +def get_list_of_dict(keys, list_of_tuples): + list_of_dict = [dict(zip(keys, values)) for values in list_of_tuples] + return list_of_dict -- cgit v1.2.3