python坑之input获取字符串

space = input("set user quotation:").strip()
quotation = int(space* 1024 * 1024)
print(quotation)

input获取的式字符串而非数字,运行输入111,不报错也不打印,卡住!!!

原文地址:https://www.cnblogs.com/Jason-lin/p/7719826.html