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's the other term for: one who overindulges in food and drink
if Xx8=y is the rule,and the value of x is 4, what is the value of y
What's the word for looking down on others; proud and scornful
What's the word for to talk on and on pointlessly, without clear direction
If 2/5 of a number is added to 1/3 of the same number ,the sum is 22. What is the number?
explain in steps how to graph this linear inequality 2x+3y > -2
if Xx8=y is the rule,and the value of x is 4, what is the value of y
What's the other word speaking in circles; round-about speech
What would cause a decrease in the quality of circulating red blood cells
Jim has gotten scores of 99 and 93 on his first two tests. what score must he get on his third test to keep an average of 90 or greater