这是我的代码:
keyinput = input() # I type 'appleandgold'
B = 'appleblue'
if keyinput in B: # Should actually be keyinput "intersects" B
print(keyinput) # Should print intersection
的结果(打印值)应该是keyinput = 'appleandgold'
,但我只能让它为.B = 'appleblue'
'apple'
keyinput = 'apple'