x=8
print " hello"
print " whats ur name "
myName= raw_input()
print"nice to meet you " + myName
print" i had guess a number between 1 & 10 \ can u guess"
myVariable= raw_input()
if myVariable>8 :
print"oops you are so agressive"
else:
print" you are getting closer"
if myVariable==8 :
print " good guess,lucky"
這引發「縮進塊錯誤」,任何想法爲什麼?由python猜測數字,顯示縮進塊錯誤
請使用Ctrl + K來設置您的代碼,並添加一個問題,以便我們知道您想要什麼。 – Rafalon
其實我使用手機,我新在這裏,所以我不知道如何在這裏鍵入代碼我使用qpython –