annakoslovsky4010 annakoslovsky4010
  • 01-01-2021
  • Computers and Technology
contestada

Write a program that opens an output file with the filename my_name.txt, writes your name to the file, then closes the file. python

Respuesta :

Cytokine
Cytokine Cytokine
  • 01-01-2021

f = open("my_name.txt", "w")

f.write("Your name here")

f.close()

You just have to change Your name here to your actual name. I wrote my code in python 3.8. I hope this helps.

Answer Link

Otras preguntas

State the postulate or Theorem that can be used to say that the triangles are congruent: Please please help me!!!
the total number of protons and neutrons in an atom is known as
Determine if the sequence below is arithmetic or geometric and determine the common difference/ ratio in simplest form 72, 12, 2
Blood travels away from the heart through which vessels?A. veins->venules-> capillaries->arterioles->arteries->back toward the heartB. arteries-&
Which equation matches the function shown in the graph? 3-Y 2- 1- 0- B. -E O A. y = 3 sin(x) O C. 27T y = 2 sin (2x) + 1 y = 3 sin (2x) OD. y = 2 sin (x) + 1 3π
How can I conver 3m into ft
If you were visiting Vail, CO, what would the partial pressure of oxygen be in your inspired air once it had been fully conditioned (warmed and humidified)? Rem
_____ will affect a salesperson's behavior and performancea) Role perceptionsb) Aptitudec) Skill leveld) Motivation levele) All of the above
dahilan ng kolonyalismo
plants release water onto their leaves in sublimation true or False?