n = int(input()) for i in range(n): s = input() s.split(',') if s[0][0]>=85 and s[1]=='west': print('Yes\n') else: print('No\n')
py代码,想问下哪里错了