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

is the earth getting heavier
how do you work out 45.3x6 using grid method
what is 20/7 as a mixed number what is 9/4 as a mixed number what is 22/5 as a mixed number what is4/3 as a mixed number
while ice skating,alice slipped and injured her knee.what is one way Alice might have prevented this injury
why do people join interest groups?
How to make a mixed fraction
how do I solve for x in x^2 - 8x + 12 = 0 using factoring?
why did farmers follow railroads into the texas frontier
which channel is the most popular one for the evening news A. WANR B. WWCN C. WCLM D. WKOD
If a 21 ounce box of cereal costa $2.94,what is the unit price.