I want to do a bit calculator, so you input a number and the calculator calculates it in Bytes, Kb, Mb, gb and Tb.
(我想做一个位计算器,所以您输入一个数字,然后计算器以字节,Kb,Mb,gb和Tb进行计算。)
def Bit():
x = int(input("Bitte Anzahl in Bits eingeben"))
y = x/8
z = x/8192
a = x/ (8,389*10**6)
b = x/((8,389*10**9)
c = x/(8,389*10**12),
print(
x,":", y , "Bytes",
x,":",z, "Kibibyte",
x,":",a, "Mebibyte",
x,":",b, "Gibibyte",
x,":",c, "Terabyte"
)
Can you help me, to find my syntax Error
(您能帮我,找到我的语法错误吗)
ask by TheTjschulze translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…