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

ray wants the larger of two aquariums.One aquarium has 20 in. by 20 in. and has a height of 18 inches.The other aquarium has a base that is 40 in. by 12in. and
Write -90.85 as a mixed number in simplest form.
Social needs are acquired through?
what is the percent notation for 6.4%
What energy is transfomed that takes place you lifting a chair?
During a recent winter, the ratio of deer to foxes was 7 to 3 in a town. If there was 210 foxes in the town, what was the number of deer in the town?
what british policy did american colonists protest at the boston tea party
I need help with the blanks
How many 1/10 are in 3?
What caused Portugal to finallywithdraw from its African colonies?