Question: Create a python program that creates a file named HAL-9000.txt and writes the following text to it: Hello Doctor Name Continue Yesterday Tomorrow There
Create a python program that creates a file named HAL-9000.txt and writes the following text to it: Hello Doctor Name Continue Yesterday Tomorrow There are SIX lines of text, no more, no less. Remember, it is your responsibility to tell Python when to create a new line. Note: you must use the filename specified, or your output will be marked wrong. Answer: (penalty regime: 0 %) 1 | Check
Step by Step Solution
3.30 Rating (159 Votes )
There are 3 Steps involved in it
create and open file in write mode file1 openHAL9000txt w list for Stri... View full answer
Get step-by-step solutions from verified subject matter experts
