Some more list methods: Python tutorial 87

preview_player
Показать описание
Guys please help this channel to reach 20,000 subscribers. I'll keep uploading quality content for you.

Python is easy programming language to learn and anyone can learn it, and these tutorials are 100% free in hindi.

You can share this playlist with your brother, sisters and friends. This will surely add some values to their life.

If you follow this complete playlist of python tutorial surely you will learn everything about python programming language.

In this video I showed you some more common useful methods.

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

Happy Teacher's Day Sir. Thank you so much for these lectures!

bollywoodbakbak
Автор

To sort in descending order, we could use numbers.sort(reverse=True)

saumitrapathak
Автор

# Reverse
num =[3, 5, 1, 9, 10]
num.reverse()
print(num)

avilashbhowmik
Автор

nice to know that listname.sort() sorts the actual list but while using print(sorted(listname)) does not affect actual list

akshatbhutra
Автор

Thanks a lot sir.Take love from BAngladesh. <3

avilashbhowmik
Автор

Thank you for each n every video you uploaded to this channel sir (:

vatsalaykhobragade
Автор

sir aap ne is video me reverse ka nahi bataye

onestep
Автор

I m writing the same codes in python IDLE and using python 3.1.. copy and clear method are not running in it. its giving attribute error in both the cases. can you please help me out?

anupamsingla
Автор

What's the difference between passing list.copy() to a new list and simply passing list to a new list....I am getting same answer with both....Is their any time complexity difference?

C-SuiteUchiha
Автор

# num = [1, 5, 3, 5, 5, 8, 9, 10]
# # print(num.count(5))
# # num.sort()
# # print(num)
# # print(sorted(num))
# # print(num)
# # n=num.clear()
# # print(num.clear())
# # print(n)
# # num_copy = num.copy()
# # print(num_copy)
# # num_copy.clear()
# # print(num_copy)
# # print(num)

jatintomar
Автор

yadi hum user se input lekar ke fruit count karvaye what will be the code

abhishekahirwar
Автор

if i am directly printing " print(n.sort())" its giving "None" why?

shraddhagangrade
Автор

Copy fn in short way:
number_copy= numbers *(simple)*
Note: no use of fn

YouMeHackers
Автор

bhai agr desending order me sort karwana hai toh kya karna padega.

ashishmishra-kpzh
Автор

Hello Sir,

Can you let me know what is the difference between sort and sorted method

chinmayraval
Автор

hi sir
sorry sir i didnt get diffrences between sort and sorted both are same output

The_Imams_Guidance
Автор

How to add in list when user takes input?

nachiketzadap
Автор

Sir! you missed the "reverse" method. What it does ?

zeeshanakram
Автор

sir copy method ka kiya faida ha copy tu assingment operator sa b ho jati ha

usama
Автор

In the sort method direct printing like - print(fruits.sort()) doesn't works it shows output 'None' Why?

preetam
join shbcf.ru