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

Suppose you ride your bicycle to the library traveling at 0.5 km/min. It takes you 25 minutes to get to 1.3 the library. How far did you travel?
Can someone please help me ?
Which of the allies suffered the greatest losses on D-Day
What is 0.05 percent of 6.5?
Can someone please help me ?
What is the slope of any line parallel to the line 8x + 9y = 3 in the standard (x,y) coordinate plane?
USE A NUMBER LINE TO FIND 8/9 / 8/45.
What is the slope of any line parallel to the line 8x + 9y = 3 in the standard (x,y) coordinate plane?
Why were people from Africa brought to Georgia?
Please I have the answers I just want to double check them and Solvekey: B=42  A=93  N=29  X=361. (b-7)(2b-7)2. (4a-4)(5a-7)3. (5n-6)(4n+7)4. (2n=8)(8n+3)5. (6x