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

1. Having commitment to a strong work ethic means maintaining your own self O discipline O communication O patience honor
Two students have fitted their scooters with the same engine. Student A and his scooter have a combined mass of 127.5 kg and a maximum acceleration of 2.40 m/s²
Some one asked a legitimate health question and it got erased
If g:x = 2x-3 4 find 9^-1 (-3)​
Which features are present in this polar graph?A. No symmetry B. Symmetry about the pole (0,0)C. Symmetry about the line Theta=pi/2D. Symmetry about the polar a
find the measure of angle ACB​
In a game of pool, the cue ball moves at a speed of 2 m/s toward the eight ball. When the cue ball hits the eight ball, the cue ball bounces off with a speed of
Describe the goals of the Bill and Melinda Gates Foundation. (Site 1)
what was the effect of the American industrial revolution
(x^4-13x^2+36)/(2x^2+10+12)