Easy
Append Lines
Write
start to log.txt. Then read n words and append each on its own line. Finally print the whole file.Input
n, then n words.
Output
The file contents.
Sample 1
Input
2 x y
Output
start x y
Sample 2
Input
0
Output
start
Output appears here