Question: What data type does the following function return? def read _ text ( filename ) : def read _ text ( filename ) : words
What data type does the following function return?
def
readtextfilename:
def readtextfilename:
words
words
with
openfilename
r
as
infile:
with openfilenamer as infile:
for
line
in
infile:
for line in infile:
words
line.split
words line.split
return
words
return words
Choice of :a D list
Choice of :a dictionary
Choice of :a D list
Choice of :a string
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
