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

In this lab, you will observe the properties of oil, cornstarch, salt, and sodium bicarbonate. You will use the properties to classify the substances as ionic a
Leo bought a used car for x dollars. one year later the value of the car was 0.88x. which expression is another way to describe the change in the value of the c
L waves are seismic waves that Result from combining other seismic waves do not move through the earth are the same as S waves are the same as P waves
Determine for which class of lever the output force is always greater than the input force. for which class is the output force always less than the input force
How did the united states react to japanese americans? (after pearl harbor)?
what Is the square root of 100x to the 8th power
Why are journalists and storytellers always looking for telling details?
What act combined juggling, tap dancing, and singing?
What sorts of actions were taken by both individuals and the U.S. Government against immigrants
Surgical procedures were most impacted by: 1)vaccines 2)antiseptics 3)antibiotics 4)x-rays