Length Built in Function and Python Strings

Опубликовано: 13 Сентябрь 2024
на канале: Daily dose of America
1k
11

Be sure to like, share and comment to show your support for our tutorials.

=======================================
Channel -
Playlist For This Tutorial -
Latest Video -
Facebook -
Twitter -
Website -
======================================

Length Built-in Function and Python Strings

In this tutorial, we are going to look at the length built-in function and Python strings. This will be a short tutorial there really is not much to find a length of a string. Why would we want to have a length of a string? Say you want to put a minimum number of characters on a string for a user's password or username. Using len() built-in function would allow us to find the length of the string if the username or password is long enough we will allow them to use the username or password. Of course, there other reasons why you may need to find the length of a string.