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

I WILL GIVE BRAINLIEST TO WHOEVER IS CORRECT!!!!!!
a DVD priced $17.50 cost $18.81 after tax. what is the percent if sales tax
Five factors aiding the booming growth of corporations
a grocery store sells American cheese for $3.89 per pound about how much would a dollar in 1.89 pounds of cheese cost
What is the length of the line segment BC
A one-celled organism measures 33 millimeters in length in a photograph.If the photo has been enlarged by a factor of 100, what is the actual length of the org
The first four terms of a geometric sequence are 108, 36, 12, 4, … What is the common ratio? –72 –3 3 1/3
12 is 2% of ______ 18 is 50% of _____ 16 is 40% of ______ 56 is 28% of ______ 5 is 10% of ________ 24 is 16% of _______ 15 is 25% of _______ 11 is 44% of ______
What's the difference between Reunion and Reunite?
In freud's view of the structure of personality, the mental structure that acts as one's conscience and judges thoughts and actions is known as the _____