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

During the holiday sale the store discounted all items 40% what is the discount on a $19.95 item
choose all that are correct given the equation: y= 1/4 x + 9 A) y = 7.25 when x = –7 B) y = 7 when x = –8 C) y = 8.5 when x = –4 D) y = 10.25 when x = 5
what are major events that occurred during the Triassic era
9. What were the causes of the Spanish American War?
can you help me solve some math problems​
The amount of filling in a Doughiest Donut Boston cream donut follows a Normal distribution, with a mean of 3 ounces and a standard deviation of 0.4 ounce. A ra
Shauna is 10 inches shorter than Ryan. Together their heights total 140 inches. How tall is each person?
Sometimes aquaculture operations can lead to oxygen depletion near the benthos as organic matter is consumed. What would be a prime location for an aquaculture
solve for n 2/3(1+n) = -1/2n
The volume of Saturn is 8.27 × 10^14. This is about 766 times the volume of Earth. What is the approximate volume of Earth? Show your work.