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 do seedless plants reproduce? Mark as brainliest
One number is 3 less than twice another. If their sum is 39 find the numbersWhich of the following systems of equations represents the word problem?​
you have a suspect on the run in a dry, wooded area; they’ve ditched the gun but are hiding from you. how long do you have to find them before vital proof they
According to a survey, 15% of city workers take the bus to work. Donatella randomly surveys 10 workers. What is the probability that exactly 6 workers take the
You can do my one more task, the last one.
Express this number in standard form. 3 . 6 4 3 × 1 0 − 1 = ? 3.643×10 −1 =?3, point, 643, times, 10, start superscript, minus, 1, end superscript, equals, qu
3. Calculate the percent yield of silver chromate if 0.455 grams of silver chromate are producedfrom 0.500 grams of silver nitrate.2 AgNO3 + K2CrO4 -> Ag2 Cr
Match each group in colonial Latin Amenca society with its description
what is the period of the parent cosine function, y = cos(x)
Which best describes the difference between expectations for World War I and the reality of the war? A. Fighting occurred only on land, while people expected na