Lecture 3 : List & Tuple in Python | Python Full Course

  Рет қаралды 251,395

Shradha Khapra

Shradha Khapra

Күн бұрын

This lecture was made with a lot of love❤️
Notes : drive.google.com/drive/folder...
✨ Instagram : / shradhakhapra
✨ LinkedIn : / shradha-khapra
0:00 - Introduction
0:51 - Lists in Python
6:28 - Difference between Strings and Lists in Python
9:05 - List Slicing
11:55 - List Methods
22:59 - tuples in Python
23:38 - Difference between Tuples and Lists in Python
27:43 - Tuple Slicing
28:09 - Tuple Method
29:35 - Let's Practice Question 1
34:05 - Let's Practice Question 2
39:47 - Let's Practice Question 3

Пікірлер: 442
@pranav_c17
@pranav_c17 4 ай бұрын
Best channel for all coders 🎉❤
@leptoketrin
@leptoketrin 4 ай бұрын
BCA students are here ❤❤❤
@Aryan_Singh_coder
@Aryan_Singh_coder 4 ай бұрын
Bhai BCA karke bhi coding kar sakte hai I am in 11 th
@KakashiHatake-ux1jq
@KakashiHatake-ux1jq 4 ай бұрын
No btech CSE students
@KakashiHatake-ux1jq
@KakashiHatake-ux1jq 4 ай бұрын
@@Aryan_Singh_coder bhai bca mai coding syllabus me hi rheti hai
@KakashiHatake-ux1jq
@KakashiHatake-ux1jq 4 ай бұрын
@@Aryan_Singh_codertry kar ki koi ache college me CSE mile bca ko backup me rakh
@Aryan_Singh_coder
@Aryan_Singh_coder 4 ай бұрын
@@KakashiHatake-ux1jq thanks bro
@bhumikakesharwani-ii4ii
@bhumikakesharwani-ii4ii 2 ай бұрын
I didn't know how to write a python code but i am watching your video so i completely understand and make program thankyou so much and Great full video
@mspider03
@mspider03 4 ай бұрын
Ma'am I want to ask that in movie question we can also use this too right? a=input("Enter the 1st movie name: ") b=input("Enter the 2nd movie name: ") c=input("Enter the 3rd movie name: ") l=[a,b,c] print(l) Rather than creating an empty list and then appending values in them
@user-rm2to3uc7d
@user-rm2to3uc7d 2 ай бұрын
mene bhi same ase hi kiya hai
@Rosa-uu2sy
@Rosa-uu2sy Ай бұрын
You can do l = [input "first movie name", input"second movie name" .....] Print(l)
@rahulpandey4975
@rahulpandey4975 Ай бұрын
This actually helped me, I was stuck on a question from last 2 days.
@craftingwithriya.
@craftingwithriya. 24 күн бұрын
yes you can. either ways it does the same job :)
@mylife-sl6dz
@mylife-sl6dz 23 күн бұрын
​Vahi soch raha hu bencho vo interviewer bhi sar bhod dega itna locha dekkhe 😂​@@craftingwithriya.
@sagar14bavliya
@sagar14bavliya Ай бұрын
I am mechanical Engineer... But still i am leaning this from you... Because of you..
@babamusic8538
@babamusic8538 4 ай бұрын
Didi Maine ye code crame Kiya tha palindrome ka😂😂 kisi ne aisa copy ka method nahi bataya tha aj clear hua TQ a lot ❤❤❤❤❤
@jeetm9603
@jeetm9603 25 күн бұрын
I was solving the practice questions i was on first question I coded it and entered my 3 fav. movies shutter island was the first one and few minutes later your first fav movie was shutter island i was pleasantly surprised.
@Adityasshenoy-rw4ox
@Adityasshenoy-rw4ox 4 ай бұрын
Thank you madamji.. I was waiting for this chapter.. once again thank you..& also wish to bring your notice , I didn't find notes on this lecture.. Earlier lectures notes it shows at description link. Thank you ❤
@ComicCraze54
@ComicCraze54 4 ай бұрын
Exactly
@learnwithnagma
@learnwithnagma 4 ай бұрын
It's there only : drive.google.com/drive/folders/1LahwPSc6f9nkxBiRrz6LFUzkrg-Kzvov?usp=sharing
@Adityasshenoy-rw4ox
@Adityasshenoy-rw4ox 4 ай бұрын
Thank you Madamji.. Found notes ❤
@therealpunit
@therealpunit 4 ай бұрын
This will help us a lot. ❤
@SwaroopSoni-vm5ys
@SwaroopSoni-vm5ys Ай бұрын
Didi mere se first wala question ho gya tha 😊😊
@rupeshpathak2045
@rupeshpathak2045 4 ай бұрын
I was waiting for it 😊
@ACQUAINTANCE-UNKNOWN
@ACQUAINTANCE-UNKNOWN 4 ай бұрын
THANKS DIDI ❤ IT HELPS ME A LOT 🙏 #GULABI DIL #GULABI DIL #GULABI DIL 🙂
@hargunsaluja8985
@hargunsaluja8985 3 ай бұрын
Thankyou... Good explanation😀
@harshsaini4637
@harshsaini4637 4 ай бұрын
Thnk u mam python series k liye
@parthakapri4285
@parthakapri4285 4 ай бұрын
Hi, the third lecture PDF is not available on Google Drive. So, please look into this matter.
@aaryatripathi5412
@aaryatripathi5412 3 ай бұрын
Now it's uploaded
@salonikasera6283
@salonikasera6283 4 ай бұрын
Thnx didi Your way of teaching is excellent 👌👌👌
@souravkumar9013
@souravkumar9013 4 ай бұрын
mam please reply ! iss python series me numpy, matplotlib bhi cover hoga ?
@khushitiwari7704
@khushitiwari7704 2 ай бұрын
Thank uhhh 😊❤
@akashtiwari2656
@akashtiwari2656 8 күн бұрын
I love to study and code❤
@karthiksundaram544
@karthiksundaram544 4 ай бұрын
Nice teaching ❤
@KuldeepSingh-nq1vi
@KuldeepSingh-nq1vi 3 ай бұрын
Very nice video...
@NikhilSonatakke-gz5pi
@NikhilSonatakke-gz5pi 4 ай бұрын
Which is best book for python......?
@ghairatbaheer1991
@ghairatbaheer1991 4 ай бұрын
Thank You Shradha Didi! A lot of respect from Pakistan. Your teaching method is very good. I'm enjoying your every class and I'm waiting for the upcoming classes.
@CodeBook-fc9fg
@CodeBook-fc9fg Ай бұрын
tere makima
@CodeBook-fc9fg
@CodeBook-fc9fg Ай бұрын
what the
@CodeBook-fc9fg
@CodeBook-fc9fg Ай бұрын
fo
@prajwalkumbhare2480
@prajwalkumbhare2480 4 ай бұрын
Thank you didi❤
@vasykloepexergasia7562
@vasykloepexergasia7562 4 ай бұрын
thanks for sharing this kind of quality contents on internet for free!!! lots of love from Bangladesh.
@studyjeeandboard5093
@studyjeeandboard5093 4 ай бұрын
Python ke sath dsa easy rahe ga and iss series me advance tak sikhaya jayega????
@piyushshende6324
@piyushshende6324 Ай бұрын
i sorted a tuple( without converting into list ) tup = ("C","D","A","A","B","B","A") print(sorted(tup))
@peeyushkumar6038
@peeyushkumar6038 Ай бұрын
Very good 😊
@MRK_Rameez
@MRK_Rameez 4 ай бұрын
Thank you for 3rd chapter request for typescript series also
@AnjaliSingh-lg2np
@AnjaliSingh-lg2np 4 ай бұрын
Thanku Di❤
@RohitKumar-ws1ig
@RohitKumar-ws1ig 4 ай бұрын
Thank u so much Shradha for this tutorial.
@techynil2386
@techynil2386 3 ай бұрын
recently in Gate exam new paper ds & ai hua hai toh usme python programming language hai toh yaia course us ka lia enough hai?
@SayandipBar
@SayandipBar 3 ай бұрын
di please make a video on python libraries
@yuvishika1980
@yuvishika1980 2 күн бұрын
Maam when you are using dot. Your program is working with that but whenever I use this full stop sign it just return me error?
@SyedMYahya-vf9vw
@SyedMYahya-vf9vw 4 ай бұрын
This series is good
@OmkarChikkodi-pp4fu
@OmkarChikkodi-pp4fu 3 ай бұрын
didi how can we have run time assignment of value in tuples Because list.append is supported only for the list but not for tuple How can we have user inputs in tuples
@parthibhadevi3678
@parthibhadevi3678 27 күн бұрын
How will we change a tuple to list without changing the brackets and have the exact same data items?
@Ayaan_khan21
@Ayaan_khan21 3 ай бұрын
str.replace() function in string replace old value with new value does that violate the rule of string being immutable.?
@Dipakshukla158
@Dipakshukla158 Ай бұрын
.replace() is a function and in this case internally a new string is created with the replaced value and then it is stored in the original string
@SIMPLEBOY01825
@SIMPLEBOY01825 2 ай бұрын
thank you di
@ShadowCipher
@ShadowCipher 4 ай бұрын
Ma'am there are no notes for lecture 3 in link
@mahaveerjain2096
@mahaveerjain2096 4 ай бұрын
Mam your java course was awsome and great , but i have one request i'm learn c++ language course from your channel and I'm request to make video on advance c++ topic,code and some industrial level c++ project
@vedikasharma4212
@vedikasharma4212 4 ай бұрын
THANK YOU DIDI🤗🤗
@rishaltiwari8518
@rishaltiwari8518 4 ай бұрын
Ma'am why string and list always give 1 less value of ending index in output... Please tell me
@sriharsha7221
@sriharsha7221 4 ай бұрын
Thank you ☺
@akashnarkhede1365
@akashnarkhede1365 Ай бұрын
movies = [input("Enter 1st movie name: "), input("Enter 2nd movie name: "), input("Enter 3rd movie name: ")] print(movies) list also support taking input inside it did you check?
@vanicollege7676
@vanicollege7676 4 ай бұрын
Thanks didi❤🎉
@sowmyareddy6058
@sowmyareddy6058 4 ай бұрын
Waiting for the next lecture 😊
@DeeptiShukla-gb8hs
@DeeptiShukla-gb8hs 19 күн бұрын
please make django series, its benefits to all your subscriber.
@saifrahman9044
@saifrahman9044 Ай бұрын
You are doing great Baji (didi). Love the way you are teaching. Love from Pakistan💌sada khush rahu
@ChandraParkesh-dc9xp
@ChandraParkesh-dc9xp 9 күн бұрын
Best channel for all codes
@ChandraParkesh-dc9xp
@ChandraParkesh-dc9xp 9 күн бұрын
Nice
@HimaniPandey-sb8ci
@HimaniPandey-sb8ci 3 ай бұрын
You are the best
@ankitrai3316
@ankitrai3316 Ай бұрын
question 2 main hum kya reverse method ka use kar ke bhi kar sakte h kya
@Saurav_Kumar_009
@Saurav_Kumar_009 2 ай бұрын
Thanks You Dii For this lecture ❤️
@rounitkashyap2548
@rounitkashyap2548 4 ай бұрын
i completed this vdo ......when will this course complete
@vivekkumarchouhan8550
@vivekkumarchouhan8550 16 күн бұрын
eagerly Waiting for your pyspark videos..
@vinu9307
@vinu9307 4 ай бұрын
Didi isme dsa bhi include h kya??
@mohittraveller6863
@mohittraveller6863 4 ай бұрын
Mam please start course of rectjs ,nodejs with mongodb..
@mkbhardwaj5070
@mkbhardwaj5070 4 ай бұрын
Ma'am list mein slicing karte time positive slicing possible hai negative slicing bhi possible hai to negative slicing ki jarurat kyon padi jab positive slicing se bhi chijen vahi bheja hoti hai
@codewithme1042
@codewithme1042 4 ай бұрын
Please start the AI, ML && Neutral Networks full course series with python
@soumyaranjanmaharana5177
@soumyaranjanmaharana5177 4 ай бұрын
Plz mam one video for list comprehension
@DESHI41
@DESHI41 4 ай бұрын
Thanks didi ❤
@SwaroopSoni-vm5ys
@SwaroopSoni-vm5ys Ай бұрын
Mam kya python se game bana sakte hai
@user-wp4ye5rc4x
@user-wp4ye5rc4x 4 ай бұрын
Arts wolo ke liya konsa course better hai
@kishanmishra4252
@kishanmishra4252 4 ай бұрын
Thnx di❤ python ke aur practice questions dalo na please
@riteshrajput9385
@riteshrajput9385 2 ай бұрын
why we are using Append in movie program
@1198-
@1198- Ай бұрын
#another solution for the last problem: tuple = ("a", "b", "d", "c", "d") report = list(tuple) # creating a data structure called 'report', that is a list and has the same content as the tuple to be able to use the sort function report.sort(reverse = True) print(report)
@vishal1980able
@vishal1980able 2 ай бұрын
ma'am i did the 1st question without append😅 my code was : movie = input("enter your 1st favourite movie") movie2 = input("enter your 2nd favourite movie") movie3 = input("enter your 3rd favourite movie") print ("the list of your favourite movies is : " , [movie , movie2 , movie3]) and it was fully workingg
@shagufta5531
@shagufta5531 2 ай бұрын
i did the same
@vishal1980able
@vishal1980able 2 ай бұрын
@@shagufta5531 yup bro and this one is easy
@Aadil.Xplorer
@Aadil.Xplorer Ай бұрын
38:20 when i am changing value in list(palindrome to non palindrome), it is still printing palindrome. can you help me. why?
@krishraj2347
@krishraj2347 Ай бұрын
Didi aapne jo second palindrome wala question Diya tha na to usme jab me list ko direct code krne k jagah input leta hu to error nhi aata h but answer galat aa raha h 😢. Mene pura code recheck Kiya h but smaj nhi aa raha ki galti kaha ho rahe h... Please help me
@apoorvavashisth5846
@apoorvavashisth5846 2 ай бұрын
Hello Shraddha can you please provide practice questions .....
@swarnilsinha8529
@swarnilsinha8529 Ай бұрын
but how to take input in the list from the user?
@divyanshugoyal663
@divyanshugoyal663 4 ай бұрын
38:37 another code list1= [1,2,1] copy1= list1.copy() copy1.reverse() print(copy1)
@mohammadtowseefhassan3630
@mohammadtowseefhassan3630 4 ай бұрын
Plz upload a complete lecture on python pandas
@faisalrabbani7082
@faisalrabbani7082 4 ай бұрын
Mam..where is lecture-3 pdf note? I can't found it in drive
@vkmotivation8066
@vkmotivation8066 4 ай бұрын
Hello dii 3rd lecture notes is not showing in drive??
@gunjanarya2915
@gunjanarya2915 4 ай бұрын
how can we input a list from user?
@bb1sr716
@bb1sr716 4 ай бұрын
Making A video on backend technology like PHP or python in easy way please mam😊
@aritra5963
@aritra5963 4 ай бұрын
lecture done but note is not showing for the given below link
@Sandeep-wq5ki
@Sandeep-wq5ki 3 ай бұрын
For the plaindrome of elements, What about we create the list Use list.reverse() function And use condition that original equals reverse list... Why it failed...I tried but it don't works.
@godoff5700
@godoff5700 4 ай бұрын
didi playlist mai 4 videos bata raha hai par mere ko 4th lecture ki video nahi nazar arahi
@mehakkamran3929
@mehakkamran3929 4 ай бұрын
Lecture 3 notes not uploaded on google drive
@WakyateTareekh-ch8kq
@WakyateTareekh-ch8kq 4 ай бұрын
Love You shardha didi❤from pakistan
@SaimBinIkram
@SaimBinIkram 2 ай бұрын
Can someone tell me if this is correct or not for the Practice Question 1? # WAP to ask the user to enter names of their 3 favorite movies & store them in a list m1 = input("Enter the name of the first movie: ") m2 = input("Enter the name of the second movie: ") m3 = input("Enter the name of the third movie: ") print([m1,m2,m3]) # The output is correct and I personally believe that is is better is terms of readability. If this is not correct, how so?
@195challenge
@195challenge 4 ай бұрын
thanku diii , aapka abhar sadaiv rhega
@House_searcher
@House_searcher 4 ай бұрын
Hii shradha in previous video u said that u can change string component with str.replace , now in this video u told us string is immutable, kindly clarify this .
@ANKITKUMAR-np5kp
@ANKITKUMAR-np5kp 4 ай бұрын
thanku didi
@dipakkandel2934
@dipakkandel2934 Күн бұрын
list1=["abc",10,10,"abc"] list2=list1.copy() list2.reverse() if(list1==list2): print("Given list contain palindrome") else: print("Given list contain palindrome")
@enfield_kiddo_16
@enfield_kiddo_16 4 ай бұрын
I think without using copy method we can check palindrome i. e by using only reverse( ). list=['d', 'a', 'd'] copylist=list.reverse( ) copylist.reverse ( ) if(list == copylist): print("palindrome") else: print ("not palindrome")
@shanksshaki
@shanksshaki 4 ай бұрын
copylist.list.copy() copylist.reverse()
@MahfuzurRahman-li4pr
@MahfuzurRahman-li4pr 25 күн бұрын
list=["d",'a','d'] if list==list[::-1]: print('palindrom') else: print('not palindrom')
@abdulfahadwarsi1216
@abdulfahadwarsi1216 4 ай бұрын
@shardha pdf notes file still not uploaded..Kindly proivde.
@Sankararavind
@Sankararavind 4 ай бұрын
From Andhra Pradesh following your videos past 2 years thank you mam
@jaspreetkaurrakhra8504
@jaspreetkaurrakhra8504 25 күн бұрын
Thanku didi
@helpful9634
@helpful9634 4 ай бұрын
You r great teacher, love u mam
@214shrutijain8
@214shrutijain8 4 ай бұрын
notes of lec 3 is not in description
@swanandbarapatre12
@swanandbarapatre12 26 күн бұрын
Thanks 3
@neonblade209
@neonblade209 Ай бұрын
m1=input("Enter 1st Movie name: ") m2=input("Enter 2nd movie name: ") m3=input("Enter 3rd movie name: ") list=[m1,m2,m3] print(list)
@valuabledisplay769
@valuabledisplay769 4 ай бұрын
Thank you sister ❤❤❤❤❤❤❤❤❤❤
@SanjeevThakur18
@SanjeevThakur18 4 ай бұрын
thanks a lot mam
@MuhammadAmin-po9df
@MuhammadAmin-po9df 3 ай бұрын
Thanks, great learning
@youknowme7248
@youknowme7248 Ай бұрын
Slicing mai apne kha last index include nhi hota phir woha jb last index likha nhi to last wla tk print kese hua??please clarify
@rishibose8748
@rishibose8748 4 ай бұрын
Mam will you teach us Numpy,pamdas , data
Lecture 4 : Dictionary & Set in Python | Python Full Course
54:32
Shradha Khapra
Рет қаралды 211 М.
SQL - Complete Course in 3 Hours | SQL One Shot using MySQL
3:16:14
Apna College
Рет қаралды 6 МЛН
Watermelon Cat?! 🙀 #cat #cute #kitten
00:56
Stocat
Рет қаралды 7 МЛН
Cat story: from hate to love! 😻 #cat #cute #kitten
00:40
Stocat
Рет қаралды 16 МЛН
Omega Boy Past 3 #funny #viral #comedy
00:22
CRAZY GREAPA
Рет қаралды 35 МЛН
Hot Ball ASMR #asmr #asmrsounds #satisfying #relaxing #satisfyingvideo
00:19
Oddly Satisfying
Рет қаралды 22 МЛН
c language in 11 minutes (for beginners)
11:19
THY UNBOXIFY
Рет қаралды 1,3 М.
Solve any Star Pattern program in Python
18:44
Simply Coding
Рет қаралды 842 М.
Complete Git and GitHub Tutorial for Beginners
1:15:22
Apna College
Рет қаралды 2,1 МЛН
Is Python the Coding Language of the Future? A Brief Analysis
9:23
Apna College
Рет қаралды 347 М.
Watermelon Cat?! 🙀 #cat #cute #kitten
00:56
Stocat
Рет қаралды 7 МЛН