Saved Bookmarks
| 1. |
Which function is used to write all the characters?(a) write()(b) writecharacters()(c) writeall()(d) writechar() |
|
Answer» Right option is (a) write() The explanation: To write a fixed sequence of characters to a file fh = open(“hello.txt”,”w”) write(“Hello World”). |
|