Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

convert pb to tb with python

try:
    pb = int(input("How much pb:- "))
    conversion = pb * 1024
    print(conversion," TB")
except ValueError:
    print("PB must be in numerical format not the char format")
    #numerical format --> integer
    #char format --> string
    
 
PREVIOUS NEXT
Tagged: #convert #pb #tb #python
ADD COMMENT
Topic
Name
6+1 =