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)
Answer:
temp = 47
if temp > 40:
print("It’s extremely hot day today!")
else:
print("It’s not too hot!")
Explanation:
*The code is in Python.
Create a variable called temp and set its value as 47
Check the temp using if-else structure. If the temp is greater than 40, print "It’s extremely hot day today!". Otherwise, print "It’s not too hot!".
Answer:
This statement is false.
Explanation:
The correct statement should read:
"When using BitLocker on a laptop, the laptop should not use standby mode, rather it should use hibernate mode. This is because Hibernate writes memory to the computer’s disk drive, ****which means the contents of the computer's memory are protected by Bitlocker.****
Standby mode (which is basically putting the computer to sleep) keeps the computer in a very low power state, and memory is maintained and not protected by BitLocker."
Hope this Helps.
I beleive you need to insert a watermark