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

Select the best transition words or phrases in the text below. Cooking is a valuable skill that will serve students for the rest of their lives. Therefore, all
how many people visited auschwitz every year during the war
what is the approximate value of 9/11-4/9
In which labeled portion of the curve would you use the heat of fusion to calculate the heat absorbed? A. 1 B. 2 C. 3 D. 4
Find the value of r so the line that passes through the pair of points has the given slope. (r, 3), (5, 9), m=2
I need a love poem for my beloved. poem should be must 3 stanza ​
The substances of the mantle are mostly in the............. state. ​
Rain water which falls on a flat rectangular surface of length 6m and breadth 4m is transferred into a cylindrical vessel of internal radius 20 cm. What will be
Un pistón de 20 kg descansa sobre una muestra de gas en un cilindro de 8 cm de diámetro. ¿Cuál es la presión manométrica sobre el gas? ¿Y la presión absoluta?​
Ganymede is one of the satellites of Jupiter. The radius of Ganymede's orbit around Jupiter is about 3 times that of the Moon around the Earth. The mass of Jupi