Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to convert gb to mb in python

try:
    gb = int(input("How much Gb:- "))
    conversion = gb * 1024
    print(conversion," MB")
except ValueError:
    print("GB must be in numerical format not the char format")
    #numerical format --> integer
    #char format --> string
Source by tutorialspoint4all.com #
 
PREVIOUS NEXT
Tagged: #convert #gb #mb #python
ADD COMMENT
Topic
Name
4+4 =