Quiz: Create a Word Counter
We'll cover the following...
We'll cover the following...
Technical Quiz
1.
#!/usr/bin/python
f = open("birds.txt", "r")
data = X
f.close()
print(data)
X
reads the entire content of a file. Which of the following functions will replace X
in the code above.
A.
f.reads()
B.
f.read()
C.
f.readall()
D.
f.read(*)
1 / 5