You define functions but never call them.
limit = 0
probably needs to look like
limit = ask_limit()
and your ask_limit function needs to verify that the input is a numeric value between 20 and 75. After you get that working you can setup the ask_driver function and verify that the value entered there is above the provided speed limit.
limit = 0
probably needs to look like
limit = ask_limit()
and your ask_limit function needs to verify that the input is a numeric value between 20 and 75. After you get that working you can setup the ask_driver function and verify that the value entered there is above the provided speed limit.