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

Meanwhile, carbon dioxide gas diffuses _______ the alveoli and _____ the neighboring capillaries.
PLEASE HELP! Answer the following questions in complete sentences in Spanish. 1. ¿Que piensas hacer esta noche? (go to a party) 2. ¿A que hora tienen Uds. que
3 (x - 4) = 5 + 3x + 2
Find the mean, median, and mode(s) of the data: 34, 57, 58, 56, 21 Please hurry !!!!!!!
Hi what is 34+35????
Samantha went to a concession stand and bought three pretzels and four sodas and paid a total of $11.25 for them. Raza went to the same stand and bought five pr
Is this correct guys?
Help I need help ASAP
calculate the volume occupied by 5 moles of co2 at NTP
PLEASE HELP! NEED NOW! What most likely happens when water vapor cools? It changes into gas. It changes into liquid. Its temperature increases. Its temperat