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

Felicia is a manager at the All You Can Eat Buffet. She earns $38,550 annually. If she pays 6.2% of her annual income toward Social Security and 1.45% of her in
if the point (−5, −8) is reflected over the y-axis, what are the coordinates of the reflected point?
? A spacecraft is traveling in interplanetary space at a constant velocity. What is the estimated distance traveled by the spacecraft in 9.50 seconds? 2.30 × 10
someone..anyone! explain what natural log is (ln) show me an example problem what do you do with the e . just plz help me understand....100 pts plus brainiest
factor this expression 9x+123y
Physical capital is known as human-made objects. TRUE FALSE
Who seized power in an 1834 mexico city revolt?
What type of work does the reeve perform?
A soccer game is 90 minutes long. 36 minutes have passed . what percentage of the game has passed. can someone please help me
An experienced carpenter could build a house in 5 days. How much would he have finished if he worked for 3 days?