Question: write a function that takes on list argument. The purpose of the function is to write each string in the list to a text file
write a function that takes on list argument. The purpose of the function is to write each string in the list to a text file such that each string is on a separate line. Write a second function that asks the user for a sentence of at least words, each word must have no numbers. Using a
negative logic while loop keep asking until the user provides the appropriate sentence test for both # of words and that every
word has no numbers Once you have an appropriate sentence convert it to a list and pass it to the previous function.
Write a simple caller to test your code.
Each line of code requires a comment. Place the comment above the line of code not in line with it
use camel casing
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
