Q. Consider the following statement. In which file mode is the file opened ? Justify your answer.
with open( 'poen.txt') as f:
Answer :-
Read mode, because the file mode has not been specified and the default file mode is the read mode.
with open( 'poen.txt') as f:
Answer :-
Read mode, because the file mode has not been specified and the default file mode is the read mode.
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )