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

1. Hakim has an abscessed tooth and needs a root canal. Which dentist will Hakim see for the procedure? A. A dental hygienist B. An oral surgeon
Which has more kinetic energy a bowling ball or a soccer ball
If the prefix post- means “after,” what does postpone mean? to hold after to drive after to place after to send after HELP!!!!!! HELP!!!!!
what is 6 thousandths of a meter of a decimal
How do i make a real world slope equation?
The quotient of a number and 4 is at most 5 please help!
An expository presentation can be weakened by
I need 30 facts about the old stone age
why did the Egyptians want to trade with the Phoenicians
PLS HELP ASAP!!! In "A Horseman in the Sky," Carter Druse remembers his father's command that he should always do his duty. How do the words of Carter's father