Q. What is the difference between readline() and readlines() function?
Answer =
The readline() function reads from a file in read mode and returns the next line in the file or a blank string if there are no more lines. (The returned data is of string type.)
The readlines() function also reads from a file in read mode and returns a list of all lines in the file. (The returned data is of list type.)
The readlines() function also reads from a file in read mode and returns a list of all lines in the file. (The returned data is of list type.)
looks like your name is inspired from physicswallah
ReplyDeleteMay be : )
Deletephysica wallah ka name har jagay h
ReplyDeleteLove your Alakh sir
I also Love Alakh sir,
Deletebut this website is not link with Physics Wallah.
your notes are quite amazing keep it up i think one day you will see sky...
ReplyDeleteKl Mera paper hai or main aapke notes dh rhi hoo thanks
ReplyDeletePost a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )