1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Contact [7]
4 years ago
7

The function takes two string parameters; the first is the name of a file and the second is text. Complete the function to appen

d the string text onto the end of the file named filename. You'll want to open the file for appending and then you can use a single write function call to complete the write. Be sure that you close the file, either with an explicit close function call or by using a with statement.
Computers and Technology
1 answer:
castortr0y [4]4 years ago
3 0

Answer:

The code for the function is given below in Python language

Explanation:

def append_string_to_file(filename, text):// function takes the filename // and text  to append

f = open(filename, 'a')

f.write(text) //function part that writes the text

f.close() //closing the file using the explicit close function

You might be interested in
A college meal plan allows students to:
Wittaler [7]

Answer:

I think it's B.

Explanation:

You have to pay upfront for the types of meals you want. It will be different now though, because the Corona virus.

6 0
4 years ago
Read 2 more answers
Which function can be used to insert the current date into a spreadsheet?
VladimirAG [237]

Answer:

im pretty sure it MM/DD/YYYY

Explanation:

3 0
3 years ago
____________ is/are the information, knowledge of people or things, and connections that help individuals enter preexisting netw
Harlamova29_29 [7]
The social capital is the answer
6 0
3 years ago
Without any formal planning, the president of a software company remarks in a speech that new technologically advanced software
ahrayia [7]

Answer:

<em>Imposed project deadlines.</em>

Explanation:

The term of project management imposed deadline<em> refers mainly to the calendar-based dividing line used to determine a fixed time or date on which the project management team has projected and/or developed that the particular schedule of work and/or schedule of work events.</em>

6 0
4 years ago
Wide area network (WAN) connects multiple networks that are in the same geographical locations.
xeze [42]

Answer:

False.

Explanation:

<em>This is pertaining to LAN or Local Area Network. LAN is a type of network that is consist of one or several networks located in one geographical area or location. Wherein WAN or Wide Area Network is a type of network that is located in different or several geographical area. The basic example of WAN is the Internet. Networks of computers are connected even though they are not wired physically.</em>

5 0
3 years ago
Other questions:
  • A user complains that he cannot access a particular website, although he is able to access other websites. at which layer of the
    5·1 answer
  • A quick boot allows you to do what?
    7·2 answers
  • A list of pages within a Web site that you have visited and that usually appears at the top of a page is referred to as a(n) ___
    14·1 answer
  • 3. By default, Blender® remembers your last 32 actions and allows you to undo them one at a time by pressing CTRL+Z. (1 point)
    9·1 answer
  • How to manufacture an ict application?
    15·1 answer
  • Enter a character: * ASCII #42 Enter a character: exit Not a character
    7·1 answer
  • A class can inherit behavior from a parent but also define its own and override parent behavior. This is called:
    8·1 answer
  • Hardware refers to programs and protocols used on a computer system.<br><br> True<br> False
    8·2 answers
  • How to save an edited document.​
    6·1 answer
  • Information that's been collected to help solve a problem is called
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!