B04A – Computer Sir Ki Class

Login


Lost your password?

Don't have an account ?
Register (It's FREE) ×
  

Login
[lwa]



Exam Questions-CBSE12A-2018-B04A #PYTHON#6139    siteicon   siteicon  

Problem Statement - B04A

Write a statement in Python to open a text file STORY.TXT so that new contents can be added at the end of it.

Solution

TC++ #6139

file= open(“STORY.TXT”,”a”) OR file.open(“STORY.TXT”,”a”)


Share

CSKC| Created: 9-Jan-2019 | Updated: 20-Feb-2019|CBSE12A-2018









Back