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

= A coat is reduced $24 from the original price of $400. What is the percent decrease? The price of the coat decreased by%. K
100° 100⁰ X = ??????
adeshinaquadrioluseg Don't look at this users questions they are literally all wrong Trash
A car starts from rest and travels for 4.0s with a uniform acceleration of + 1.3m/s^2. The driver then applies the brakes, causing a uniform acceleration of - 1
100° 100⁰ X = ??????
Suppose D(T) = A(T-H)2 +K represents the hieght of an object in feet after T seconds. Suppose an object has a maximum height of 12 feet after 2 seconds. This sa
The sum of 2.236 and 7.555.. must be : A) Rational B) Irrational C) An integer D) A whole number
From earth why dose the sun look so much larger than other stars ? Is the sun actually larger than the stars outside our solar system ? Explain your ideals belo
Hey, How are you what you doing
how many molecules of oxygen is in water