Quick video showing how you can use a while loop to validate user input in Python, prompting the user to fix their input if it doesn't meet specific criteria.
This can be handled more elegantly with recursive functions, but this is the simplest way to do it.
Nesta página do site você pode assistir ao vídeo on-line Python: While Loop for Input Validation duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Joshua Bastean 25 Janeiro 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 26,806 vezes e gostou 375 espectadores. Boa visualização!