1,会呀,目的就是要改变上面的prompt
2,是的
3,这个是小甲鱼课上讲过的啊,我觉得你没有认真学,但你的理解是对的
4,你可以按照英语来理解,如果没有选择,就一直循环(条件是选择在N,E,Q这三个字母之中)
你说的恰恰相反,要是为True了,就是while not True,也就是 while False,自然会退出循环。
而while not False就是while True。
要是真的不能理解,可以这样:
while True:
choice = input(prompt)
if choice not in 'NnEeQq':
print('you entered a wrong option, please try again:')