Originally Posted by Kakao
Use the code tag to format your code. Otherwise it is very difficult to read Python code.
this is a nice substitute for impossible,
for op: left justification make impossible to see where each while loops, if's are ended.
as Kakao said, use code tags please.