From 1f4aeb531d250afa2521834f2598a4a1ee6b1a6b Mon Sep 17 00:00:00 2001 From: mattveraldi Date: Tue, 23 Oct 2018 13:04:27 +0200 Subject: [PATCH] Solved issue #53 --- test/keys_only/keys_only.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/keys_only/keys_only.py b/test/keys_only/keys_only.py index 43d879917..ab1f21176 100644 --- a/test/keys_only/keys_only.py +++ b/test/keys_only/keys_only.py @@ -1,5 +1,2 @@ def keys_only(flat_dict): - lst = [] - for k, v in flat_dict.items(): - lst.append(k) - return lst \ No newline at end of file + return list(flat_dict.keys()) \ No newline at end of file