Question: Problem 8 Extract the comments. Comments begin with a # symbol and continue to the end of the line. They can contain any number of
Problem
Extract the comments. Comments begin with a # symbol and continue to the end of the line. They can contain any number of any characters, including none.
Some examples from the program:
#usrbinperl
# Convert CSV file with student info into a file
# that can be used to make accounts.
#
# Output is username, password, first name, last name
# Change array element separator to comma
# Print the whole array
# Return first initial, last name, all lower case
extractr# "perl.txt
NameError Traceback most recent call last
in
extractr# "perl.txt
NameError: name 'extract' is not defined
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
