Skip to content

Commit 8bedccd

Browse files
authored
Create solution.hide.py
1 parent 6ed38dc commit 8bedccd

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
people = ['juan','ana','michelle','daniella','stefany','lucy','barak']
2+
3+
def delete_person(person_name):
4+
# Your code here
5+
updated_people = list(people)
6+
7+
if person_name in updated_people:
8+
updated_people.remove(person_name)
9+
10+
return updated_people
11+
12+
# Don't delete anything below
13+
print(delete_person("daniella"))
14+
print(delete_person("juan"))
15+
print(delete_person("emilio"))

0 commit comments

Comments
 (0)