Answer:
def statement(numbers):
deposits = []
withdrawals = []
for number in numbers:
if number > 0:
deposits.append(number)
if number < 0:
withdrawals.append(number)
return [sum(deposits), sum(withdrawals)]
Explanation:
*The code is in Python.
Create a function called statement that takes numbers as a parameter
Inside the function, create two empty lists called deposits and withdrawals. Create a for loop that iterates through the numbers. Inside the loop, if a number is greater than 0, add it to the deposits. If a number is smaller than 0, add it to the withdrawals. When the loop is done, return the sum of the deposits and the sum of the withdrawals (use sum function to sum the numbers in the lists)
so u know were your going
The technological changes at the turn of the twentieth century that affected American life include the rise of the internet and mobile devices. The internet signaled the opportunity for immediate access of information. Paired with mobile technology, Americans were able to communicate almost instantly.
The correct answer is: Scanner
The scanner is a piece of technology which unlike the printer is an input device which basically scans the top-view of any flat surface (usually paper but is definitely not limited to it) introduced in its effective range using light. The data scanned is then transfered to the Central Processing Unit for futher processing. The processed image can then be outputted and seen on the monitor's display. Once available for printing, the Central Processing Unit will just send the processed image into the printer ad voila, your scanned image is now printed in a piece of paper!
Today, scanners come with printers as a bundle. It is a perfect combination since the printer will just print the image anyway.