Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeWithHarry/The-Ultimate-Python-Course
/ rem
Function
rem
Chapter 8 - PS/07_problem7.py:2–7 ·
view source on GitHub ↗
(l, word)
Source
from the content-addressed store, hash-verified
1
2
def
rem(l, word):
3
n = []
4
for
item in l:
5
if
not(item == word):
6
n.append(item.strip(word))
7
return
n
8
9
10
l = [
"Harry"
,
"Rohan"
,
"Shubham"
,
"an"
]
Callers
1
07_problem7.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected