(Disclaimer: I am not a professional, so it might not be the most concise answer possible, but I did run the Python script and it works)
Answer:
user_input = input("What food do you have in your refrigerator? ").lower()
count = 0
while True:
if user_input != 'apples':
count += 1
print(f'You have a {user_input} with a total of {count} food(s)\n')
user_input = input("What food do you have in your refrigerator? ")
else:
break
Answer:
Hi, this program allows you to calculate a sphere’s area and volume depending on the radius of your choosing.
Please give brainliest, means alot!
Answer:
d. RAID 6
Explanation:
RAID is a data storage technology that combines multiple physical disk drive components into a single logical unit. The functions of RAID is to provide performance and redundancy.
RAID 0 provides data stripping but it does not offer data stripping.
RAID 1 increases performance to about 2x but it limits the disk capacity to about 50%
RAID 5 provides redundancy and increased perfomance but it is limited to small disk drive.
RAID 6 also provides redundancy but it slows performance
RAID 10 increases performance and data protection.
RAID 6 is the best drive that offers redundancy over performance.
Answer:
try this
Explanation:
if name == '__main__':
words = input().split()
data = input()
for i in range(0, len(words), 2):
if words[i] in data:
data = data.replace(words[i], words[i + 1])
print(data)