我收到一条错误消息,提示 sum1 未定义
def zodiacMatch(sum1, sum2):
sum1 = input("please enter your zodiac number")
sum2 = input("please enter your other number")
if sum1 + sum2 <= 7:
print "low compatibility"
#MAIN#
zodiacMatch(sum1, sum2):
sum1 = input("please enter your zodiac number")
sum2 = input("please enter your other number")