PYTHON Using regular expression 6. Filter all elements whose first…
Question Answered step-by-step PYTHON Using regular expression 6. Filter all elements whose first… PYTHONUsing regular expression6. Filter all elements whose first non-whitespace character is not a # character. Any element made up of only whitespace characters should be ignored as well.¶ items = [‘ #python’, ‘tnnumpy #123’, ‘#pandas’, ‘2323’, ‘trf’, ‘#1’] Computer Science Engineering & Technology Python Programming Share QuestionEmailCopy link Comments (0)


