Question: C Read data from keyboard and save in file Given a file name FN. Read data from a keyboard and store it in a file.
C Read data from keyboard and save in file Given a file name FN. Read data from a keyboard and store it in a file. Write a function: def solution(FN): that accepts file name FN. The function should read keyboard input till an empty line is entered. Store input data in a file. Input This is file read example in Python where, First line represents a file content. Output This is file read example in Python
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
