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 need some help please
Which of the following expressions is a factor of the polynomial x^2 + 3/2x -1 X-1/2 X-2 X-1 X+3/2
A submerged submarine is stationary. The engines are put on maximum power. The submarine moves forward. The engines maintain maximum power. The forces resisting
a line passes through (3,7) 3/4
Which function is graphed below?
Which powers vest complete this graphic
An athlete is injured on the field his team mates see that the injury is moderately swollen and the althete reports that the area is numb what is the first thin
Helppp meee please What is the value of x?
If each iTunes song costs $0.99 and Wade bought 24 songs, how much was the total cost?
After the revolutionary war which branch of government did the states make more powerful ?