79401006

Date: 2025-01-30 19:21:59
Score: 1
Natty:
Report link
I=input().replace(" ","\n").split("\n")
J=I
for p in range(len(I)):
    if J[p]='\n'
    delete J[p]
print("This list may have empty lines")
print(I)
print"It has an absence of empty lines"
print(J)
  1. It replaces spaces with lines.
  2. It removes an element based on the position and not the value.
  3. It shows us the result without filtering.
  4. It again represents the list with filters applied.
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Racecar