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

what is the sum of 7/10 and 6/100
Explain what is the same about two fractions that are like fractions
having troubles with inequalities.. 3.8x + 14.5 < 32
having troubles with inequalities.. 3.8x + 14.5 < 32
Explain what is the same about two fractions that are like fractions
having troubles with inequalities.. 3.8x + 14.5 < 32
what is the sum of 7/10 and 6/100
which trinomial is equivalent to (3x-1)(x+4)
which trinomial is equivalent to (3x-1)(x+4)
Explain what is the same about two fractions that are like fractions