Q16Numerical3 Marks1 Sep 2024
Consider the Python code given below. How many number of lines will be present in the file `output.txt` after the execution of the above code?
Code Snippet
f = open('output.txt', 'w')
f.write('rose')
f.write('jasmine\n')
f.write('''lotus
lilly
orchard''')
f.close()
Press Enter to check.