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

Solving a proportion of the formula. Please help, would really appreciate it.
Determine the average atomic mass of helium, which has two isotopes having atomic masses 4.0026 amu and 3.0160 amu. The relative abundance of the two isotopes
Find the interquartile range 18,20,21,22,24,24,25
A sermon read on friday prayers in the name of a ruling Muslim king is
I need to know what the sentence is
An alcoholic who abruptly stops drinking may experience a seizure because
Please help me with numbers 2 and 3
what objects would require the use of a large scale model
What is the mean of the numbers 5,5,7,5,9,11,18?
If the m<1 = 40, what is the m<3? 40 80 10 100