Objective
Create a program in Python to count the number of words stored in a text file.
Files: the file text.txt already exists. Print the number of words it contains (words are separated by spaces or line breaks).
9
Open the editor in full screen: the statement on the left and your code, the output and the tests on the right.
Start exercise