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

how many digits are there between one and zero
Help PLEASE! How does Federalism guard against tyranny??
I need help with dis giving brainliest
please help on this one?
Please help with this problem
If y'all read The Book Thief or is reading it right now, what is Markus Zusak's message about loss of innocence? And give me the quotes w/ citations please!
If frank has 24 pennies 62 nickles 55 dimes 16 quarters and 19 fifty cent pieces how much money does he have
what bodies of water did the eastern roman empire border
Determine the slope of the line that passes through the points (0, -5) and (-6, 6).
what do nuclear reactions change in atoms