Find length of list with and without len() method | Python Programs

preview_player
Показать описание
Find length of list with and without len() method | Python Programs

Learn Logic Building with Python Examples is a series on YouTube where I will be discussing lots of question with proper explanation and also I will tell you how I get to it's logic. Solving question is the best way to improve your logic. So, come with me open your source code editor and start writing the code.

For More Such Videos - Hit the Subscribe Button and Press the Bell Icon for Latest Notifications.
Like and Share these videos for my motivation to create more.

#BhavikAgarwal
Рекомендации по теме
Комментарии
Автор

F = [5, 7, 2, 8, "hello", True, 5.8, None]
count = 0
for i in F:
count += 1
print("Length of list is =", count)

educationalblossom
Автор

F = [5, 7, 2, 8, "hello", True, 5.8, None]
count = 0
for i in F:
count += 1
print("Length of list is =", count)
if count == 8:
print(True)
else:
print(False)

educationalblossom
Автор

English mein bnao bhai, firangio ko bhi kaam aye 😅

xiaoshen
Автор

print("Length of list is =", count) # bro what is the use of list is = in print statement???

sirajshaikh
join shbcf.ru