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

how many animal cells would fit inside a plant cell
Twice a number decreased by 16 is 64.
glands that release hormones into the blood are part of the __________. digestive system endocrine system nervous system circulatory system
how has the use of computers and advances in technology change the healthcare industry
All the genes of all members of a particular population make up the populations ? A.genotype B.phenotype C.gene pool D.relative frequency
How do I do thiis question?
como le dicen casa en diferentes paises
In testing a set of hypotheses, if we insist on strong evidence against the null hypothesis we should choose alpha(a) to be __________. Very large Very small
(18×2)×5=18×(2×____) complete the equation, and tell which property you used
Lara is in charge of ticket sales for the school play. A student ticket costs $4.50 and an adult ticket costs $8.50. If every adult brings at least one student