B04A-2015D – Computer Sir Ki Class

Login


Lost your password?

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

Login
[lwa]



Exam Questions-CBSE12D-2015-B04A #PYTHON#6548    siteicon   siteicon  

Problem Statement - B04A-2015D

Differentiate between the following:
(i) f = open (‘diary. txt’, ‘r’)
(ii) f = open (‘diary. txt’, ‘w’)

Solution

TC++ #6548

(i) diary.txt is opened for reading data
(ii) diary.txt is opened for writing data


Share

CSKC| Created: 14-Jan-2019 | Updated: 14-Jan-2019|CBSE12D-2015









Back