0
I'm not getting it that why is it printing none as output?
2 Answers
+ 6
Hello Kaushik
.remove() does not return a value, so you get "None".
It just removes the element and changes your list.
lower_case.remove(first_number)
print(lower_case)
+ 4
remove() works in-place, it doesn't return anything.