Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

tb to pb with python calculator

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