Python Validation: Length Check Tutorial (Part 2)

preview_player
Показать описание
Python Validation: Length Check Tutorial (Part 2)

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

In this tutorial we shall be checking if the length of an input is greater than a specified value or lower than a specified value. For example, if we have a user input with the length of 5 but we wanted all inputs to be greater than 6 characters long, the input would be invalid. If the length was 7, the input would be valid.

This will be a 4 part series. In this video we are covering how to check if the user has inputted a string of a specific length.

Thanks for watching this Python length check tutorial.

This tutorial is aimed at beginners.

Subscribe to keep notified when I upload?:

Python Validation: Length Check Tutorial (Part 2)
Рекомендации по теме