Saved Bookmarks
| 1. |
Suppose content of 'Myfile.txt' isHumpty Dumpty sat on a wall Humpty Dumpty had a great fall All the king's horses and all the king's men Couldn't put Humpty together againWhat will be the output of the following code? myfile = open("Myfile.txt") record = myfile.read().split() print(len(record)) myfile.close() a. 24 b. 25 c. 26 d. 27 |
|
Answer» Answer is c. 26 |
|