164 - Python - Lesson 15 - sort() and sorted() functions in Python || In Urdu language

preview_player
Показать описание
In this lesson, we will learn about sort() and sorted() functions in Python in Urdu language.

The class is now full. No more enrolments.
Рекомендации по теме
Комментарии
Автор

i am very inspired by your teaching style and knowledge. keep shining...

ShamimAhmed-khve
Автор

MashaAllah Sir Zabardast.. Allah aap ko lambi zindagi ata farmaye

zubairalikhan
Автор

Dear, Sir Mr. Azwar sab.
I extend my heartfelt gratitude to you for your unwavering guidance and support throughout my learning journey. Your expertise and encouragement have been instrumental in shaping my understanding of the subject.
Thank you for being a dedicated teacher and making the learning experience both enjoyable and enriching. Your commitment to excellence is truly commendable.
M SAFDAR SARGODHA PAKISTAN

coolvisiondiabetes
Автор

sir yaqeen janee bahot behter seakh rahy han ap k sath khuda apko bahot bahot izzat atta kary bahot sehat mand zindgi dy ameeinn

coolvisiondiabetes
Автор

Sir G just Amazing and thank you very much for your time perfection ❤

Muhammad_khan_Dawar
Автор

sir jo loog ab iss course ko mukamal karain gy un ko iss course ka kiya faida . ab woo loog kistariky se certificate ly skain gy braiy meharbani ap reply kar ka bataadain

natureanditsbeautynatureandits
Автор

apko jumma mubarak ho sir'''

coolvisiondiabetes
Автор

# challenge Accepted - print even numbers of a given list in reverse order with the help of " For Loop"
Sir, give feedback please.

Code:
vlist = list(range(1, 21))
print(vlist)
even_no = []
odd_no = []
for i in vlist:
if i % 2 == 0:
even_no.append(i)
else:
odd_no.append(i)
print(even_no)
even_no_reverse = sorted(even_no, reverse=True)
print(even_no_reverse)
print(odd_no)
odd_no_reverse = sorted(odd_no, reverse=True)
print(odd_no_reverse)

whimsyshortsofficial
Автор

Assalam o Alaikum Sir!

vlist1 = range(1, 21)
vlist2 = [i for i in vlist1 if i % 2 == 0]

print(vlist2)

print(vlist2[::-1])

vEvenNum = sorted(vlist2, reverse=True)
print(vEvenNum)

waqasbhatti
Автор

start = 20
end = 0
even_numbers = [num for num in range(start, end - 1, -1) if num % 2 == 0]
print(even_numbers)
Output: [20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 0]

uummah
Автор

By using Slice and Reversed Slice operators :
List = list(range(0, 21))
reversed= List [: : -1]
print(reversed [: :2])
Output: [20, 18, 16, ..., 0]

uummah
Автор

Kindly send link for registration
Thanks

drabdurrahim
Автор

A.O.A! sir me yeh classes aap k btaae gye time k baad lee rha hoon .So, when I will complete this course will I be given that certificate of completion on this course or not . please confirm this sir .
Thank You!

vocalera
Автор

Sir mny form fill kr dia th but mujy mail received Nii ho howi

innocentzainabnoor
Автор

Registration submit k baad, reopen ka message kyon aa raha hai? Ek Baar submit k baad uski report email men bhi aani chahiye

zahidaraji
Автор

Aslamo Alaikum Sir, I didn't get any email about the class nor any link to assignments, etc. Can you please check I already enrolled in the last few days before the enrollment closed? thanks

SalmanAslam-wyuz
Автор

Dear Sir,
I am your regular student in Python. I like your method of teaching very much. Sir, in this lesson, I could not understand one thing:
aList = [2, 6, 9, 8, 1, 3, 5, 7, 4]
cList = aList.sort()
print(cList)
RESULT: None
I could not understand the result "None".
Kindly guide me.

tastyehealth
Автор

Thank you sir. can you please share the coding file?

ShahidIqbal-mblh
Автор

sort aur sorted ka diffrence samjh nehi aya

NasirKamal-vo