Answered step by step
Verified Expert Solution
Question
1 Approved Answer
16 def getDataAslist(fileName): 17 18 Read all test scores in filename, append them to a list, return that list. 19 A 20 return [] Bogus
16 def getDataAslist(fileName): 17 18 Read all test scores in filename, append them to a list, return that list. 19 A 20 return [] Bogus return value to avoid a warning below 21 22 23 24 25 == # Test code: listofTests = getDataAslist('test1.txt') assert(len(listofTests) = 26) assert(listofTests[0] == 83) assert(listofTests[20] = 77) assert(listofTests [25] 95) 26 27 28 test1.txt x Project 1 2 3 4 5 6 7 8 9 9 10 11 12 13 DescriptiveStatistics.py X $3 96 61 85 90 53 80 100 98 100 100 91 83 83 69 59 91 100 96 100 77 92 73 99 55 95 14 15 16 17 18 19 20 21 22 23 24 25 26
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started