📜  tb 到 pb 与 python 计算器 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:50.508000             🧑  作者: Mango

代码示例1
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