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 answer[tex] {5}^{ - 7} \times {5}^{12} \times {5}^{ - 2} [/tex]
What steps were taken during reconstruction to rebuild the south and preserve the rights of African americans
(x+2)(x^2-8x+15) how do I get the answer to this problem
you are charged $16.05 after tax for a meal. Assume sales tax is 7%, what was the menu price for the meal?
please help, need answer fast! Which equation is equivalent to ?
Two hikers stopped for a snack. They shared 2/3 of a pound of trail mix. If the hikers shared the trail mix equally, how much trail mix did each hiker get?
Write out the steps required to calculate a worker's pay
Identify which region where witch hunting was at its peak
37,204.182 rounded to the nearest tens place
childbirth what is this third stage