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

There were more than __________ bicyclists killed in motor vehicle crashes in Florida in 2012.
3. What contributes to your passive digital footprint? (1 point) A.entering your address into a website to sign up for a contest B.cookies that track your onl
is It A B C or D ~ apexvs
How many people on food stamps have iphones?
What was mercury powder used for in 1800?
The pharmaceutical manufacturing industry replaced the early role of the _______ in developing drugs.
what does the severity of previous traumatic events mean
how to find x for similar right triangle
Ella simplifies (3b+4r)+(-2b-r) and says the result is b+5r. What error did Ella make? A. Ella incorrectly combined the b coefficients. The correctly simplified
How old was colonel sanders when he started kfc?