Answer:
The flashdrive can hold 35389 400-pages-books
Explanation:
If of a page occupies 1 kB of memory, we can calculate how much memory a book will take
Now that we know that a book average file size is about 266,67 kB, we calculate how many of them can a 9 GB flash drive hold.
To do the calculation, we have to know how many kilobytes are in 9 gigabytes.
There is 1024 kilobytes in a megabyte, and 1024 megabytes in a gigabyte, so:
Finally, knowing the average file size of a book and how much memory in kilobytes the 9 GB flash drive holds, we calculate how many books can it hold.
The flashdrive can hold 35389 400-pages-books, or 14155776 pages of typical text.
Answer: Output
input keyboard mouse joystick graphics tablet trackball touchpad touchscreen microphone sensor
Processing processor (CPU) processor (GPU) memory motherboard
Output printer monitor touchscreen plotter speakers headphones motor data projector
Explanation:
Answer:
nums = []
while True:
in = input()
if in:
nums.append(in)
else:
break
if nums:
avg = sum(nums) / len(nums)
for i in range(len(nums)):
if nums[i] == avg:
print(f"index: {i+1}")
print(nums[i])
else:
print(-1) # if there aren't any values in nums
Explanation:
Assuming that you are coding in Python 3x. The last 'else' statement is an edge case that you might want to consider, I don't know what you want to put there, but I'm just going to leave it as -1.
Answer:
O D. Allowing sensory play with no objective measurement