i'm thinking maybe it's an indentation problem but I don't know
while if elif else while if elif continue if .....
a mess where am i now:confused:
Most can understand a while if elif else..,but if you nest it together then code lose readability.
The code will be much harder to debug/troubleshoot.
Write more function like you start of with,good code almost need no documentation.
I see you have get good help before in this post,i did start to look at your code but i lost motivation because of reason explaind.