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

HG is tangent to circle O at point W. WU is the circle's diameter. Find m/GWU. Answer Attempt 1 out of 2 m/GWU H W Submit Answer
A paragraph is often compared to ________. 1) a cluster 2) an outline 3) a sandwich 4) an article
If a=50,sigma fiui =-36, sigma fi=35 ,h=10 then find mean.​​
Which of the following is NOT a conjugate acid-base pair? Which of the following is NOT a conjugate acid-base pair? a.H2SO3/HSO3b.NH4+NH3 c.C2H3O2d.HC2H3O2 H3O+
-8d +20 with a factor of -4
Which sentence is not an example of a scientific hypothesis? Wearing helmets when riding a bike will increase.A) the safety of cyclists.B) the incidence of bike
What factors help predict why the populations of some countries grow faster than others?
Find the slope (rate of change) of the line. A. 5 B. -5 C. 1/5 D. -1/5
Chris is walking at a speed of 3.25 miles per hour. If he continues to walk at the same speed, how far can Chris walk in 1.5 hours?
In the article the besst of Loch Ness which is tje following wtaments best expresses a central idea of the article