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 would you describe the behavior of particles in a solid? a. They don’t move very much and do not change position. b. They crash into each other and bounce
What is the value of 9 in the period in 914,318
is 0.85 a fraction or mixed number
what is 5/20 as in a percent
what is 43,080,700 in word form
How to do criss cross multiplication
what are two acent democracy that helped form amica today
Which words make up the prepositional phrase in this sentence? Along the back fence shuffled what looked like a large gray cat. a. Along the back fence b. loo
Identify as expression or equation 9=2x-4
How can you use 5 x 198 in the distributive property