#There are 40 questions
for i in range(0,40):
inputcontrol=1
print(questionlist[i]+' input A, B, C or D')
while True:
#set input character to upper set
ans = input().upper()
if ans =='A':
A +=1
break
elif ans =='B':
B +=1
break
elif ans =='C':
C +=1
break
elif ans =='D':
D +=1
break
else: print('Incorrect input! Please input again')
沒有留言:
張貼留言