Given this input, write the python code that returns the specified output
Input
X= ["This is a wolf #scary",
"welcome to the jungle #missing",
"11132 the number to know",
"Remember the name s - John",
"I love you"]
Output
This is wolf scary
welcome to the jungle missing
the number to know
Remember the name John
I love you
X = ["This is a wolf #scary", "welcome to the jungle #missing", "11132 the number to know", "Remember the name s - John", "I love you"] print(X[0].replace('#', '')) print(X[1].replace('#', '')) print(' '.join(X[2].split()[1:])) print(X[3].replace('s - ', '')) print(' '.join(X[4].split()))
Get Answers For Free
Most questions answered within 1 hours.