Horje
convert mb to gb python Code Example
convert mb to gb python
try:
    MB = int(input("How much MB:- "))
    conversion = MB / 1024
    print(conversion," GB")
except ValueError:
    print("MB must be in numerical format not the char format")
    #numerical format --> integer
    #char format --> string
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




Python

Related
python create hash from string Code Example python create hash from string Code Example
python hash string Code Example python hash string Code Example
open chrome console in selenium Code Example open chrome console in selenium Code Example
how to get files list from active directory from where the python script is running Code Example how to get files list from active directory from where the python script is running Code Example
wxpython change window size Code Example wxpython change window size Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7