这是我的代码:
line = ' '
while line != '':
line = input('Line: ')
phonic = line.split()
start = phonic[0]
start_4 = phonic [3]
a = start[0]
if start_4.startswith(a):
print('Good!')
else:
print("That's not right!")
我想我知道,因为line = ''
phonic 试图拆分它,但是那里什么都没有,我该如何解决?