0
python (while) cycle
Помогите с циклом! При правильных ответах должно выводиться "Right!", при неправильных "Wrong!" и повторение цикла. https://code.sololearn.com/c1lKqI140Jc3/?ref=app
1 ответ
+ 3
while a=="yes" and b=="no" and c=="maybe":
This Loop only runs or start when inputs are yes ,no and maybe which is right answer
If you enter wrong inputs
Like
No
Maybe
Yes
It won't run at all and print wrong try again
Instead You should use
While True: