Python Lists Tutorial | Python List Functions | Python Tutorial | Python Programming | Simplilearn

  Рет қаралды 70,486

Simplilearn

Simplilearn

Күн бұрын

🔥AI Engineer Masters Program (Discount Code - YTBE15): www.simplilearn.com/masters-i...
🔥Professional Certificate Course In AI And Machine Learning by IIT Kanpur (India Only): www.simplilearn.com/iitk-prof...
🔥AI Engineer Masters Program (Discount Code - YTBE15): www.simplilearn.com/masters-i...
🔥AI & Machine Learning Bootcamp(US Only): www.simplilearn.com/ai-machin...
🔥 Purdue Post Graduate Program In AI And Machine Learning: www.simplilearn.com/pgp-ai-ma...
This Python lists tutorial will help you understand what are lists in Python, how to create lists in Python, how to access elements in lists, various operations that can be applied on lists, methods with lists, built-in function with lists and an exercise using some concepts of lists in Python. A list is a collection of data. It can hold values of multiple data types. Lists are defined by having values between square brackets. It is an important data structure in Python. Now, let us get started and understand what are lists and how to use them.
The below topics are explained in this Python lists tutorial:
1. What are lists in Python? (00:34)
2. Creating lists (01:31)
3. Accessing elements in lists (05:09)
4. Operations on lists (11:23)
5. Methods with lists (15:07)
6. Built-in functions with lists (19:30)
7. Exercise (21:16)
To learn more about Python Programming, subscribe to our KZbin channel: kzbin.info...
If you want access to the slides, check this link: www.slideshare.net/Simplilear...
Watch more videos on Python Training: • Python Variables | Pyt...
#pythontutorial #pythonprogrammingforbeginners #pythontraining #pythontutorialforbeginners #numpypythontutorial #pythonsimplilearn #simplilearn
➡️ About Post Graduate Program In AI And Machine Learning
This AI ML course is designed to enhance your career in AI and ML by demystifying concepts like machine learning, deep learning, NLP, computer vision, reinforcement learning, and more. You'll also have access to 4 live sessions, led by industry experts, covering the latest advancements in AI such as generative modeling, ChatGPT, OpenAI, and chatbots.
✅ Key Features
- Post Graduate Program certificate and Alumni Association membership
- Exclusive hackathons and Ask me Anything sessions by IBM
- 3 Capstones and 25+ Projects with industry data sets from Twitter, Uber, Mercedes Benz, and many more
- Master Classes delivered by Purdue faculty and IBM experts
- Simplilearn's JobAssist helps you get noticed by top hiring companies
- Gain access to 4 live online sessions on latest AI trends such as ChatGPT, generative AI, explainable AI, and more
- Learn about the applications of ChatGPT, OpenAI, Dall-E, Midjourney & other prominent tools
✅ Skills Covered
- ChatGPT
- Generative AI
- Explainable AI
- Generative Modeling
- Statistics
- Python
- Supervised Learning
- Unsupervised Learning
- NLP
- Neural Networks
- Computer Vision
- And Many More…
Learn more at www.simplilearn.com/mobile-an...
🔥Free Python Course: www.simplilearn.com/learn-pyt...
🔥🔥 Interested in Attending Live Classes? Call Us: IN - 18002127688 / US - +18445327688

Пікірлер: 56
@MidjourneyandB
@MidjourneyandB 3 жыл бұрын
Loved the narration. Her voice is soothing. Instructions were clear. Thank you!
@SimplilearnOfficial
@SimplilearnOfficial 3 жыл бұрын
Thank you for the appreciation. You can check our videos related to various technologies and subscribe to our channel to stay updated with all the trending technologies.
@SimplilearnOfficial
@SimplilearnOfficial 5 жыл бұрын
Do you have any questions on this topic? Please share your feedback in the comment section below and we'll have our experts answer it for you. Thanks for watching the video. Cheers!
@animeshsingh1595
@animeshsingh1595 5 жыл бұрын
Nice tutorial but What about List another built-in function like pop And what if I have to delete an element from list using index position.
@SimplilearnOfficial
@SimplilearnOfficial 5 жыл бұрын
Hi Animiesh, thanks for the kind comment. To remove an element by index use del: del list_name[index]. Hope that helps!
@hanu422
@hanu422 4 жыл бұрын
Examples, using list in run time
@SimplilearnOfficial
@SimplilearnOfficial 4 жыл бұрын
Sorry, We didn’t catch that. Would you mind elaborating your query?
@akhilswaminathan962
@akhilswaminathan962 4 жыл бұрын
lets say we have a list =[1,1,1,2,3,42,65,2,5,7,3,9] if we want to just seperate numbers below 5 from this list in one step how to do that
@senthil2454
@senthil2454 5 жыл бұрын
It's a useful video for us. Thanks for sharing this video on the list with a clear explanation. Please do more videos. All the Best:)
@SimplilearnOfficial
@SimplilearnOfficial 5 жыл бұрын
Hey Senthil, thank you for appreciating our work. We are glad to have helped. Do check out our other tutorial videos and subscribe to us to stay connected. Cheers :)
@serratedhumor8468
@serratedhumor8468 Жыл бұрын
I am just starting my self taught coding journey. Finding your page has been a blessing. Thank you for making these available. I have one question, as I am new, does this encompass all of the Functions, Methods, and Operations that one can use with lists? If not, Should I worry about those now, or move on to other forms of data structures?
@SimplilearnOfficial
@SimplilearnOfficial 3 жыл бұрын
Interested in programming? Here is your one-stop destination to kick-start your programming journey for Free! Subscribe to our new channel #SimpliCode : bit.ly/3eGepgQ
@kennynelcon56
@kennynelcon56 5 жыл бұрын
Viewers note the difference between extend and append Good Video and clear voice
@SimplilearnOfficial
@SimplilearnOfficial 5 жыл бұрын
Hey Kenny, thank you for appreciating our work. We are glad to have helped. Do check out our other tutorial videos and subscribe to us to stay connected. Cheers :)
@bhanupratap7408
@bhanupratap7408 4 жыл бұрын
This video help me so much to revise a chapter......
@SimplilearnOfficial
@SimplilearnOfficial 4 жыл бұрын
Greetings! Thank you for your kind words. Spread the word by liking, sharing and subscribing to our channel! Cheers :).
@paulettedotcom
@paulettedotcom 4 жыл бұрын
if you extended 1 list with another list how would you undo that?
@naushadakbarsiddiqui7546
@naushadakbarsiddiqui7546 4 жыл бұрын
“Operation on lists” in line 19 I am unable to do the operation although I have done every things my output is 0
@mela56
@mela56 3 жыл бұрын
Thanks for the wonderful video
@SimplilearnOfficial
@SimplilearnOfficial 3 жыл бұрын
Our pleasure!
@sureshmaga4904
@sureshmaga4904 4 жыл бұрын
Tq for ur excellent lesson ...plz share some more useful videos ...and also some critical task qzns ❤️❤️
@SimplilearnOfficial
@SimplilearnOfficial 4 жыл бұрын
WooHoo! We are so happy you love our videos. Please do keep checking back in. We put up new videos every week on all your favorite topics. Whenever you have the time, you must also check out our blog page @simplilearn.com and tell us what you think. Have a good day!
@harshreddy4594
@harshreddy4594 5 жыл бұрын
Good tutorial for beginners
@SimplilearnOfficial
@SimplilearnOfficial 5 жыл бұрын
Hey Reddy, thank you for appreciating our work. We are glad to have helped. Do check out our other tutorial videos and subscribe to us to stay connected. Cheers :)
@RohitKumar-en2cc
@RohitKumar-en2cc 4 жыл бұрын
i have a list, like a=[1,3,5,4,6,7,9,11,10,20,12], i want to print all number who devided by 3 in the list
@nimbletrader2169
@nimbletrader2169 5 жыл бұрын
Nice
@SimplilearnOfficial
@SimplilearnOfficial 5 жыл бұрын
Hi Shreekant, we appreciate the kind comment! enjoy!
@rocksiva614
@rocksiva614 4 жыл бұрын
nice teach mam so tnq
@SimplilearnOfficial
@SimplilearnOfficial 4 жыл бұрын
Greetings! Thank you for your kind words. Spread the word by liking, sharing and subscribing to our channel! Cheers :).
@kennynelcon56
@kennynelcon56 5 жыл бұрын
Use the teachers method, her's is smarter lst = [1,2,3,4,5,6,7,8,9,10] odd = lst[0::2] even = lst[1::2] print(odd) print(even)
@SimplilearnOfficial
@SimplilearnOfficial 5 жыл бұрын
Hi Kenny, the above lines of code can also be used to slice the odd and even numbers from the list.
@ganeshmanepalli427
@ganeshmanepalli427 4 жыл бұрын
How to separate ODD and EVEN numbers if we take random values into list and also repeated values into list.
@SimplilearnOfficial
@SimplilearnOfficial 4 жыл бұрын
Hi Ganesh, You can use either for loop or a while loop to filter out odd and even elements for a list. Another way is to use lambda functions. Here is an example: >>> list(sorted(lst, key=lambda x: [x % 2, x])) [4, 6, 12, 14, 1, 3, 5, 7, 11]
@hell_Lofi.musicx
@hell_Lofi.musicx 4 жыл бұрын
Can uh please upload all lectures from beggining who is python begginers......thanks and awesome channel
@SimplilearnOfficial
@SimplilearnOfficial 4 жыл бұрын
Sure thing. You can check out of Python full course video with this link: kzbin.info/www/bejne/iZObe3enmtZqatU
@nishagarg3114
@nishagarg3114 3 жыл бұрын
i have a doubt that what does the two collans 2 (: : 2) represent and why are they used.
@nishagarg3114
@nishagarg3114 3 жыл бұрын
your tutorial of python lists was interesting and instructions were precise and easy to understand.
@SimplilearnOfficial
@SimplilearnOfficial 3 жыл бұрын
Glad you enjoyed our video! We have a ton more videos like this on our channel. We hope you will join our community!
@AbhishekSingh-xq4cu
@AbhishekSingh-xq4cu 4 жыл бұрын
how can i remove multiple strings from a list simultaneously?
@SimplilearnOfficial
@SimplilearnOfficial 3 жыл бұрын
"Hi Abhi, There are several methods to do it. You can use the slicing method to remove items from a list. You can write a for/ while loop and delete the strings using remove() or pop() function."
@manikandankrishnakumar5430
@manikandankrishnakumar5430 5 жыл бұрын
List =a[1::2], how this operation works at the back end
@questforprogramming
@questforprogramming 5 жыл бұрын
Even = [2,4,6,8,10] Even[::-1] Will reverse
@rajgarh2010
@rajgarh2010 5 жыл бұрын
how to sort a list in descending order
@SimplilearnOfficial
@SimplilearnOfficial 5 жыл бұрын
Hi Sheetal, you can use this code to sort a list: list.sort(reverse="True"). Hope that helps!
@poojadeshmukh5241
@poojadeshmukh5241 4 жыл бұрын
plz gives us exercise
@SimplilearnOfficial
@SimplilearnOfficial 4 жыл бұрын
Thanks for the suggestions. We will definitely look into it. Thanks.
@akhilswaminathan962
@akhilswaminathan962 4 жыл бұрын
lets say we have a list =[1,1,1,2,3,42,65,2,5,7,3,9] if we want to just seperate numbers below 5 from this list in one step how to do that
@sidharthvijayakumar3521
@sidharthvijayakumar3521 4 жыл бұрын
For loop and if statement
@SimplilearnOfficial
@SimplilearnOfficial 4 жыл бұрын
Thanks for the useful input!
@akhilswaminathan962
@akhilswaminathan962 4 жыл бұрын
@@sidharthvijayakumar3521 i know to do with for and if ,but i want it in one step. There is definitely one step solution for this because i came across this in code challenge, sadly i missed its link. Is there a library term to do it?
@SimplilearnOfficial
@SimplilearnOfficial 4 жыл бұрын
"Hi, Use list[list>5]. This will return all the numbers greater than 5 in the list"
@akhilswaminathan962
@akhilswaminathan962 4 жыл бұрын
@@SimplilearnOfficial super! thanks
@swamimedia1474
@swamimedia1474 5 жыл бұрын
Your so cute ?
@SimplilearnOfficial
@SimplilearnOfficial 5 жыл бұрын
We will consider that as a compliment!
#5 Python Tutorial for Beginners | List in Python
10:42
Telusko
Рет қаралды 3 МЛН
🤔Какой Орган самый длинный ? #shorts
00:42
Smart Sigma Kid #funny #sigma #comedy
00:25
CRAZY GREAPA
Рет қаралды 27 МЛН
P_32 List in Python and List Functions | Python Tutorials for Beginners
29:01
Jenny's Lectures CS IT
Рет қаралды 144 М.
Python lists, sets, and tuples explained 🍍
15:06
Bro Code
Рет қаралды 245 М.
ALL 11 LIST METHODS IN PYTHON EXPLAINED
9:23
Indently
Рет қаралды 79 М.
Python Functions | Python Tutorial for Absolute Beginners #1
30:34
Programming with Mosh
Рет қаралды 926 М.
Introduction to Python Programming | Python for Beginners #lec1
11:14
Jenny's Lectures CS IT
Рет қаралды 1 МЛН
Functions in Python are easy 📞
10:38
Bro Code
Рет қаралды 419 М.
Python: Data Structures - Lists, Tuples, Sets & Dictionaries tutorial
19:01
Oggi AI - Artificial Intelligence Today
Рет қаралды 329 М.
Introduction to Lists in Python
7:29
Neso Academy
Рет қаралды 57 М.