Question: Part 0 1 Using the file fruit.txt , write a program that reads the values into a list. Then print the number of items read
Part
Using the file fruit.txt write a program that reads the values into a list. Then print the number of items read and print the items in alphabetical order, one per line with no blank lines between them
contents of fruit.txt file:
apple
jujube
quince
raspberry
banana
mango
nectarine
orange
peach
elderberry
cherry
durian
kiwi
lemon
fig
grape
huckleberry
satsuma
tangelo
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
