现在我的程序说:unindent does not match any other indentation level
。该部分如下所示:
if wait2 == "Four":
print("You Have Waited For Four Months")
money += (population * 6)
time.sleep(1.5)
print("From The Rent You Now Have $" + str(money) + " In Total")
答案 0 :(得分:2)
你错过了这一行的结束)
,您可以通过添加右括号或删除左括号来修复它:
population -= (random.randint(1, 3))
^
|
答案 1 :(得分:0)
在说出
的行之前if wait2 == "Four":
中缺少
)
population -= (random.randint(1, 3)