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

2/5(d-10)-2/3(d+6) is...
Write the standard form of the quadratic equation modeled by the points shown in the table below.
find the area of the shape shown below
What are the causes and effects of world war 2
What is the answer to the question
what is 3/4 x 1/2 as a fraction
kira needs 28 strawberries for every 4 smoothies she makes. how many strawberries does she need for 3 smoothies?
Joseph and Molly each have coin collections. Joseph starts with 15 coins in his collection and adds 25 coins each month. Molly starts with 25 coins in her colle
A source card should contain what?
How many moles of C6H12O2 are needed to get 12 moles of CO2