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

what is the precent of 31/4
Who did the United States acquire the Texas Annexation from in 1845? A. Great Britain B. France C. Spain D. Mexico
In which sentence is the subjunctive mood correctly used? He listens to instructions very carefully when at work. If she were impatient, she would not be suited
A store sells boxes of juice is equal size packs. Garth bought 18 boxes, Rico bought 36 boxes and Mia bought 45 boxes. What is the greatest number of boxes in e
write down two expressions for the perimeter of this shape one with brackets and one without
Flowering plants and shrubs are unable to grow in deciduous temperate rain forests. What is the possible reason for this phenomenon?
is fl oz bigger or less than pt
explain why it is important to know the history of science
advice school-leavers on THREE ways to develop a positive attitude towards changes that will assist them to adapt to work environment
what times what gives you 62