Python Programming Tutorial: Python while loop input validation

Опубликовано: 30 Сентябрь 2018
на канале: Professor Hank Stalica
48,882
627

I demonstrate how to perform input validation in Python using a while loop.

Here's the basic algorithm:

Ask for some input
while the input is something we don't like:
Tell the user there something wrong
Ask for the input again

Continue on with the rest of the program

// Check out a C++ version of this video:
   • C+ + Tutorial:  how to do input valid...  

// Learn More //
Watch my Python play list:
   • Playlist  

Nested loops examples:
   • Video  
   • Python Tutorial:  Nested Loops  

The Python for loop:
   • Video  

Introducing the while loop:
   • Video  

// Consider supporting this channel in multiple ways
https://paypal.me/hankstalica1
Bitcoin: 177wfkQwzXiC8o2whQMVpSyuWUs95krKYB


На этой странице сайта вы можете посмотреть видео онлайн Python Programming Tutorial: Python while loop input validation длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Professor Hank Stalica 30 Сентябрь 2018, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 48,882 раз и оно понравилось 627 зрителям. Приятного просмотра!