You will write three functions that do the storage sums of this course. Every step between units is 1024.
Your tasks.
gib_to_mib, return the number of MiB in gib GiB.files_that_fit, return the number of whole files of file_mib MiB that fit in free_gib GiB.smallest to the name of the smallest device in devices that can hold all the files in need_gib.Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…