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 consequences did hitler face from the league of nations
How do you find the answer to 6*3pi but in pi form?
the scale in the drawing is 2cm 5m. what are the length and width of the actual room. __________14inch | 7inch|
What shape is number : 3, 4, and 7
Coal-burning factories and increased automobile usage has caused a significant increase in A) air pollution. B) nuclear waste. C) water pollution. Eliminat
what problems did canal builders overcome
Find the supplement of the given angle. Then draw the two angles as linear pairs. Label each angle with its measure. m angle ABC=72 B will be the vertex
is a sheet of paper is cut in half is this physical change or chemical change
Which amendment resulted in U.S. senators being elected directly by the voting public? A.the 19th Amendment B.the 18th Amendment C.the 17th Amendment D.the 21st
Given CDEFG ≌ HIJKL and CD = 12, DE = 13, EF = 10, FG = 11, and GC = 8, what is HI? Does anyone Know ?