python quiz 9

 



Q:1. If we have a file object as fileobj, then What does the attribute 'closed' will tell on this file obj ?

1.
2.
3.
4.
ANSWER :- (1) Here CLOSED attribute will returns a boolean stating whether the file is closed or  not , in form of true and false.

Comments