Question: Use the Magic command % run - i word _ count . py to run the contents of your script. Testing the process _ word
Use the Magic command run i wordcount py to run the contents of your script.
Testing the processword Function
Create a markdown cell with a level header that reads "Testing the processword Function". Add unformatted text
explaining that you will testing the function using a few test strings.
Run the following lines of code:
printprocesswordTest
printprocesswordWHAT
printprocessword:;hEl'
This should print the following strings, each on different lines: test, what, and hello.
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
