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

the graph of f(x)=|x-h|+k contains the points (-6,-2) and (0,-2). the graph has a vertex at (h,-5). descrie how to find the value of h. then, explain how this v
The box plots display data collected when two teachers asked their classes how many pencils they lose in a school year. A box plot uses a number line from 5 to
The table shows the number of runs earned by two baseball players. Player A Player B 2, 1, 3, 8, 2, 3, 4, 4, 1 1, 4, 5, 1, 2, 4, 5, 5, 10 Find the best measure
HELP PLEASE ASAP! Analyze the diagram below. Each segment of the umbrella appears to be a different color. Explain why each section appears to be the color that
4. (x,y) → (x-3,4-y) is an example of a transformation called a glide reflection. Complete the table using the rule. (0.2) og (0.0) mont Does this glide reflect
What takes the most impact of any part of the body? O Feet O Wrists O Hamstrings O Knees
Find the slope of the curve at the given x-value. Give a decimal answer rounded to three decimal places. y = x/x^2-1 x = 9
What is the solution to the inequality 4(2m + 3)-7<3? A m>-1 6. m<1 C. m>8 D. m < 8
what does several mean
R2.00 per R100.00 withdrawal of R500