Python Validation: Range Check Tutorial

Publié le: 13 septembre 2022
sur la chaîne: Max O'Didily
1,212
10

Python Validation: Range Check Tutorial

Greetings, today we are here with a Python tutorial. We shall be doing a range check validation on a string. This can be useful if you want to control the size of the user's input.

This is a type of length check. We are checking if the length is within a range of values. Let's say we want the input to be greater than 4 characters long but shorter than 8 characters long. The name "Max" would be invalid as that isn't greather than 3 characters. The name "Elizebeth" would also be invalid as it is greater than 8 characters. The name "Jeff" would be valid as it is greater than 3 characters and less than 8.

Thanks for watching this Python range check tutorial.

This tutorial is aimed at beginners.

Subscribe to keep notified when I upload?:
https://tinyurl.com/SubMaxODidily

Python Validation: Range Check Tutorial


Sur cette page du site, vous pouvez voir la vidéo en ligne Python Validation: Range Check Tutorial durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Max O'Didily 13 septembre 2022, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,212 fois et il a aimé 10 téléspectateurs. Bon visionnage!