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

Complete the table for the given rule. Rule: y=4x.....so what would the y's be???? x y 3 4 5
How many black women have phd's in mathematics?
In order to be allowed to engage in activities to promote and enhance the sale of an alcoholic beverage on behalf of a brewer or winery, a person must obtain a:
Name, define and give an example of the three (3) propaganda techniques used in world war i.
what is the effect on the graph of changing the x-coefficient (the"m")
Please help. I will give brainliest(:
mariana is braiding her hair. then she will attach beads to the braid. She wants 1/3 of the beads to be red. If the greatest number of beads that will fit on th
What two forces can turn fossils into fossil fuels answer?
What was the temperature of the water 20 minutes after heating began earth science?
Find the exact value of sin (o)