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

Current Event Project help needed. Has anyone ever watched Athlete A?
please help it’s attached please
SOMEONE PLEASE HELP ME ON QUESTION 14!!
3g = 15 Help with this one
y = -2/21x + 5 Write an equation of the line that passes through the point ( 2, -3 ) and is perpendicular to y = 1/3x - 5.
he ultimate responsibility of being a wise consumer is placed with whom? A. Government agencies B. Local law enforcement C. Individual D. Family & Friends
Please help me like please
Figure RST is reflected about the y-axis to obtain figure R’S’T’: Which statement best describes the relationship between the two figures? A. Figure RST is bigg
Suggest two reasons why the mass deposited was different from the expected valueVERY URGENT PLZ HELP!!!
A bed measures 57 inches by 76. What is the distance between opposite corners of the bed