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

If item costs $99.99 with 15% off and I get final price. It then asks me what percentage of savings. How do I get the percentage of savings
What's another name for vital signs?
water in a pan over a radiator evaporates much faster than a water pan in a table ???? i need help ppl
how do you now 11/33 is a simplest form
the perimeter of a square is 4 times as great as the length of any of its sides. Determine whether the perimeter of the square is proportional to the side lengt
There is a turtle race. The race will last 2 minutes. I have to find the distance from the start each turtle will be at the end of the race. Speed (in inches pe
The distance of a wave crest from its resting. position is its. out of A. Wavelength B. Amplitude C. Height
What is the Geocentric theory in your own words?
What is the property, transformation, or simplification used in each step of this problem?    x-7=34
What is bigger fraction, 5/6 or 6/7