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 solution to this graphed system of linear equations? a. (0,0) b. (4,-1) c. (-1, 4) d. no solution
If the vector below is multiplied by 2, what will be its end point? A. (-1,2) B. (-2,1) C. (-2,2) D. (2, 2)
A skydiver of mass 87 kg falls straight down. If air resistance exerts 355 N of force on him as he falls, what is the net force on the skydiver?
A wave has a frequency of 450 Hz and a wavelength of 0.52 m. What is the speed of the wave?
Help RescMitosis can be broken down into 4 steps. The way toremember what happens during metaphase is "middle"Chromosomes are visable during metaphase. Whereare
Which angles are obtuse?
- activities give the teacher the opportunity to deliver instruction on a more personal level than - activities
Share 75 birds into the ratio 8 : 5 : 2. Calculate the smallest share​
La familia de mi padre vive en Puerto Rico. _____ abuelos viven en San Juan. _____ tío Alberto vive en Ponce con _____ esposa Marta y _____ dos hijas, _____ pri
landslides and mudslides caused by lava flows are ___ deadly than the lava flow itself. a. more b. less ​