subject

Identify the correct syntax used to write to a text file. a. file = open('My_data. txt', 'w') file. write('This file contains data') b. file = open('My_data. txt', 'w') file. write(100) c. file = open('My_data. txt', 'w') file. write([100, 200, 300]) d. file = open('My_data. txt', 'a') file. write(['hello', 'hi', 'hey'])

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:50
Answer the following questions regarding your system by using the commands listed in this chapter. for each question, write the command you used to obtain the answer. a. what are the total number of inodes in the root filesystem? how many are currently utilized? how many are available for use? b. what filesystems are currently mounted on your system? c. what filesystems are available to be mounted on your system? d. what filesystems will be automatically mounted at boot time?
Answers: 1
question
Computers and Technology, 23.06.2019 16:30
You have read about the beginnings of the internet and how it was created. what was the internet originally created to do? (select all that apply) share research. play games. communicate. share documents. sell toys
Answers: 1
question
Computers and Technology, 24.06.2019 06:00
Hey i really need some solving this problem: 1. encrypt this binary string into cipher text: 110000. include in your answer the formula the decoder would use to decrypt your cipher text in the format (coded answer) x n mod (m) = y & 2. decrypt this cipher text into a binary string: 106 you.
Answers: 2
question
Computers and Technology, 24.06.2019 07:00
You are most likely to automatically encode information about
Answers: 1
You know the right answer?
Identify the correct syntax used to write to a text file. a. file = open('My_data. txt', 'w') file....
Questions
question
Mathematics, 22.09.2020 21:01
question
Mathematics, 22.09.2020 21:01
question
Geography, 22.09.2020 21:01
Questions on the website: 13722367