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

Factor −12 out of −12x+6. The factored expression is .
Explain how rulers abused unlimited power.?
Which sentence in this story from Aesop’s Fables best represents the climax? The Stag in the Ox-Stall A Stag, chased from his lair by the hounds, took refuge in
i need help tap the photo to see what i am trying to figure out
Plz explain this.Brainliest
Someone who is smart in math help me!!
Evaluate the principal square root of 64
How did mortimer buckle do in his breadmaking class answer?
During diffusion, when the concentration of molecules on both sides of a membrane os the same, the molcules will
20 POINTS! WILL MARK BRAINLIEST! ANSWER QUICK! MAKE SURE TO SHOW WORK OR EXPLAIN WORK! PREFERABLY SHOW WORK! Scott's flight is scheduled to travel 1,792 miles i