Convertir PB en TB avec 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
    
Programmer of empires