Browse Source

chore(shopping): move to right repository

pull/1779/head
eslopfer 1 year ago
parent
commit
a7487162b8
  1. 9
      sh/tests/solutions/shopping.py

9
sh/tests/solutions/shopping.py

@ -1,9 +0,0 @@
def clean_list(shopping_list):
if shopping_list:
cleaned_list = ([f"{index + 1}x/ {item.strip().capitalize()}"
for index, item in enumerate(shopping_list)])
if "milk" not in cleaned_list:
cleaned_list.append("milk")
return cleaned_list
else:
return []
Loading…
Cancel
Save