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

What numbers can you multiply to get 14 and add to get -5?
HELLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLPPPPPPPPPPPPPPPPPPPPPPP
One day the prisoners were told that soup would not be distributed until after roll call. Why was this?​
PLEASE HELP :D solve each equation by showing your work OR explaining all your steps 1. -4x + 2 = -18 2. x/3 - 6 = -2
What is the remainder when the following polynomial is divided by (x+2)? f (x) = 3x^5 - 2x^3 + 4x-7
Help please! Find the surface area WITHOUT the bottom.
Briefly describe how people made pots in the uae around early bronze age
1. What is a trust?
Desperate Will give brainlist and thanks Read this sentence from the Newsela article "Dying of Hunger: What Is a Famine?" Sacco said that the one thing these p
Add these two expressions. (–45t + 53s) and (–3 – 75s + 2t) 65t + 415s – 3 –145t – 115s – 3 –115t + 113s – 3 115t – 415s + 2