from pip.backwardcompat import raw_input
from PFD import *
def getInput():
try:
n = raw_input("Please enter the file size: ")
int(n)
print(str(n))
order = raw_input("Please enter a Fib Order [3/4]: ")
int(order)
except ValueError:
getInput()
if order == 3:
Fib.three(n)
elif order == 4:
Fib.four(n)
else:
print("You did something wrong, idiot.")
getInput()
getInput();
所以这就是问题所在。无论我做什么,它都会告诉我我做错了什么,并称我为白痴。:(