Question: Code a Python program that takes as input a number of gigabytes that can contain a decimal point. Convert this value to an integer
Code a Python program that takes as input a number of gigabytes that can contain a decimal point. Convert this value to an integer number of gigabytes, megabytes, kilobytes, and bytes, ignoring any fractional bytes. 1 byte = 8 bit 1 kilobyte = 1024 byte 1 megabyte = 1024 kilobyte 1 gigabyte = 1024 megabyte
Step by Step Solution
3.36 Rating (149 Votes )
There are 3 Steps involved in it
You can create a Python program to convert a given number of gigabytes to an integer number of gigab... View full answer
Get step-by-step solutions from verified subject matter experts
