Part 15 | Traversing Lists In Python - Part 2 | Python Malayalam Tutorial Series

preview_player
Показать описание
This is the fifteenth video of our "Python Malayalam Tutorial Series". This tutorial is the continuation of traversing lists

Python Malayalam Tutorial Series:

Installation :

Part 1:

Part 2:

Part 3:

Part 4:

Part 5:

Part 6:

Part 7:

Part 8:

Part 9:

Part 10:

Part 11:

Part 12:

Part 13:

Part 14:

Connect with us:
Рекомендации по теме
Комментарии
Автор

Iist ൻ്റെ Name ഇൽ Under score നിർബന്ധമുണ്ടോ?

bishr
Автор

Good explanation sir. Really worthy to watch.

eldhomathai
Автор

num_list = [25, 28, 30, 27, 36, 85, 98, 100]
count = 0
for num in num_list:
if num%2 == 1:
count = count + 1

print("Total number of odd is: ", count)

muhammadshanid
Автор

n=[10, 11, 12, 13, 14, 22, 6]
print(len(n))
for i in range (len(n)):
j=i+1
for j in range (len(n)):
if n[i]<n[j]:
mx=n[j]
print(mx)

sanjujayan
Автор

Sir last parajath clear ayila num list [ j ]>max:
Max=num list [j]

nto_xx.
Автор

each number print cheythu and count of odd and even. please check the last part. is it right method?

num_list=[12, 44, 14, 15, 20, 28, 51, 100]
j=0
i=0
while i<len(num_list):
if num_list[j]%2==0:
print(f"{num_list[j]} Its an even number")
i=i+1
j=j+1
else:
print(f"{num_list[j]} Its an odd number")
j = j + 1
i = i + 1

j=0
i=0
while j<(len(num_list)):
if num_list[j]%2==0:
i = i + 1
k=i
j=j+1

while j<(len(num_list)):
if num_list[j]%2==1:
i = i + 1
j=j+1


print(f"{k} no. of even numbers")
print(f"{j-k} no. of odd numbers")

sidharthkaruvarath
Автор

Oru doubt ithu no of even numbers kandu pidikani ale odd alalo

adhilabdulkabeer
join shbcf.ru