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

f(x) = x2 – 3x – 2 is shifted 4 units right. The result is g(x). What is g(x)?
HELP ASAP!! What value did you calculate for the index of refraction of the glass block in Part 2? How does your value compare to the accepted value of 1.53? Ca
The Aryan migration began its spread into india through the indus river valley because that area
Which matrix is the product of a 3 × 3 identity matrix and the scalar 3?
Question is In Image Provided
What is the circumference of a circle with a diameter of 21 m? (use for pi)
A toxin that blocks the release of a neurotransmitter would most likely: No answer text provided. prevent action potentials in the pre-synaptic cell block oxyge
Sleep problems and eating issues are _____of stress emotional signs physical signs behavioral signs nervous signs
High rates of hospital readmission ____________ healthcare costs. A. have no effect on B. stabilize C. increase D. double
What is a prairie house