Lab7README.md piglatin.py markov.py Test.txt calculator.py 1 2 C: > Users > fjbc2 > Downloads > =Test.txt There was nothing so very remarkable in that; nor did Alice think it so very much out of the way to hear the Rabbit say to itsel "Oh dear! Oh dear! I shall be late!" (when she thought it over afterwards, 3 it occurred to her that she ought to have wondered at this, but at the time it all seemed quite natural); 4 but when the Rabbit actually took a watch out of its waistcoat-pocket, and looked at it, and then hurried on, 5 Alice started to her feet, for it flashed across her mind that she had never before seen 6 a rabbit with either a waistcoat-pocket, or a watch to take out of it, and burning with curiosity, 7 she ran across the field after it, and fortunately was just in time to see it pop down a large rabbit-hole under the hedge.
Attached is a text file called "Test.txt" that I've created for Python:
"There was nothing so very remarkable in that; nor did Alice think it so very much out of the way to hear the Rabbit say to itself,
“Oh dear! Oh dear! I shall be late!” (when she thought it over afterwards,
it occurred to her that she ought to have wondered at this, but at the time it all seemed quite natural);
but when the Rabbit actually took a watch out of its waistcoat-pocket, and looked at it, and then hurried on,
Alice started to her feet, for it flashed across her mind that she had never before seen
a rabbit with either a waistcoat-pocket, or a watch to take out of it, and burning with curiosity,
she ran across the field after it, and fortunately was just in time to see it pop down a large rabbit-hole under the hedge."
I'm trying to create a Markov chain with this code I have here (markov.py) but the program won't run because it doesn't have a direct path to "Test.txt". Can you help me fix this issue?
![Lab7README.md
piglatin.py
markov.py
Test.txt
calculator.py
1
2
C: > Users > fjbc2 > Downloads > =Test.txt
There was nothing so very remarkable in that; nor did Alice think it so very much out of the way to hear the Rabbit say to itsel
"Oh dear! Oh dear! I shall be late!" (when she thought it over afterwards,
3
it occurred to her that she ought to have wondered at this, but at the time it all seemed quite natural);
4
but when the Rabbit actually took a watch out of its waistcoat-pocket, and looked at it, and then hurried on,
5
Alice started to her feet, for it flashed across her mind that she had never before seen
6
a rabbit with either a waistcoat-pocket, or a watch to take out of it, and burning with curiosity,
7
she ran across the field after it, and fortunately was just in time to see it pop down a large rabbit-hole under the hedge.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F1c07b5b8-5784-4ae4-bd21-95a1da8f4790%2F9ee0de92-88b8-4413-a70e-ae7ff331df7b%2Fooalmeb_processed.png&w=3840&q=75)
Unlock instant AI solutions
Tap the button
to generate a solution
![C++ Programming: From Problem Analysis to Program…](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
![C++ Programming: From Problem Analysis to Program…](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781337671385/9781337671385_smallCoverImage.jpg)
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
![EBK JAVA PROGRAMMING](https://www.bartleby.com/isbn_cover_images/9781305480537/9781305480537_smallCoverImage.jpg)
![Systems Architecture](https://www.bartleby.com/isbn_cover_images/9781305080195/9781305080195_smallCoverImage.gif)