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

Define gauge pressure
How do officials warn people about volcanic eruptions? Select the best answer from the choices below. a.) People are warned to watch for an increase in earthqua
Find the area of the trapezoid
find the error in this sentence and correct it they has distinct style of working​
Please help me with this question I am having trouble
What is the domain of the function y= x+6 -7? O X>-7 0 x>-6 O X>6 O X>7​
The consulate brought weak, unorganized leadership to France. True or false
how many formula units are there in 216g of Ba(NO3)2?
WILL GIVE BRAINLIEST
How did European colonizers develop their colonies economically, given that they were industrializing themselves at the same time?