全是RE
by ACXX @ 2022-07-24 17:44:50
# Author: Charles Tong
# Date: 2022/08/18
# coding = UTF-8
if __name__ == '__main__':
word_1, word_2 = input('Please input a letter:'), input('Please input a letter:')
res1, res2 = 1, 1
for i in word_1:
res1 = res1 * (ord(i) - ord('A') + 1) % 47
for j in word_2:
res2 = res2 * (ord(j) - ord('A') + 1) % 47
if res1 == res2:
print('GO')
else:
print('STAY')
不理解哪里错了?!?!?
by AppleSupporter @ 2022-08-18 20:33:46