05- Data structures in python (Day-3) | jupyter notebook

  Рет қаралды 26,703

Codanics

Codanics

Күн бұрын

Пікірлер: 274
@Codanics
@Codanics 2 жыл бұрын
Please watch always in HD and try to watch at least two times to practice and then utilize it with your own code... Comment below after watching this. I will be waiting for your comments about the special Faisalabadi thing in the video.
@ahmadanas177
@ahmadanas177 2 жыл бұрын
joke punjabi men funny tha 😂😂
@saleemkhattak3671
@saleemkhattak3671 2 жыл бұрын
😅 joke funny tha but Punjabi may
@ecsuae
@ecsuae 2 жыл бұрын
#0:15 Basic data structure in python #0:25 1-Tuple #11:40 2-List #22:20 3-Dictioaries #34:44 4-Set
@Muhammad_Aftab_ahmad_97
@Muhammad_Aftab_ahmad_97 2 жыл бұрын
Timestamp 19:25 List1=["Aftab","Aftab","Mehtab","Hasnain","Mohsin",2,5,5] List1.count("Aftab") output: 2. The count function is used to show how many times the string or integer is repeated in the list.
@muhammadsohaibraza
@muhammadsohaibraza 2 жыл бұрын
0:38:26 Boolean operators are allowed in sets. The only thing is, sets do not accept duplicates. We also know that in boolean language "True" represents "1" and "False" represents "0". Now if you define a set as s1={1, 2.5, 5.5, "Python", True} The output will be always {1, 2.5, 5.5, "Python"}. Because "1" and "True" are the same things and we already know that sets do not accept duplicates. That's why it will not show "True" in the output. However if you define set as s1={2, 2.5, 5.5, "Python", True} The output will be {2, 2.5, 5.5, "Python", True}
@anaszaheer6915
@anaszaheer6915 3 ай бұрын
good work brother
@naturelearning8416
@naturelearning8416 2 жыл бұрын
Assalam o alaikum Ammar bhai, this is Junaid from India,,,few days back I was searching python course in urdu/hindi and found this one "python ka chilla by baba Ammar. I am commenting after 5 days of learning because its take time to give a gunuine and honest comment. Sir, honestly I found it's superb an amazing concept of teaching.,,i never found such style of teaching style in very fascionate manner. I am very thankfull to you for providing such type of contents in free. Allah will give you better jaza for this kind act. I am learning with your video one by one in professional way and also giving look on all comments.
@azkajunaidlife
@azkajunaidlife 2 жыл бұрын
joke funny tha .or lecture halwy ki tarah paish kr diya ap ne ..yumm zabardast! hazamshudd!
@muhammadawais5377
@muhammadawais5377 2 жыл бұрын
sir ap k sath seekhne me ye bhi faida ha k with passage of time coding me interest barh rahaa haa
@Codanics
@Codanics 2 жыл бұрын
Good to know keep working hard
@MySelfPathan
@MySelfPathan 4 ай бұрын
@@Codanics sir G as video ka list,tuple , Jupiter file ? needed kya sir ap dengi sir......plz sir
@iammusman
@iammusman 2 жыл бұрын
Joke funny tha
@faizanmustafakhan8167
@faizanmustafakhan8167 2 жыл бұрын
18:57 Assignment: list.count counts a specific element's number of entries in that list, for example if a list is: Input: list1=[4, 6, 7, 8, 4, 2, 9, 5, 6, 8, 1, 8, 0] list1.count(8) Output: 3 This is because 8 appears in the list1 for 3 times.
@syedabdulwahabshah3280
@syedabdulwahabshah3280 2 жыл бұрын
list3=list1+list2 list3 output [1, 'hello', True, 1, 'python', 9.0, False, 'Ammar'] list3.count("o") list3.count(o) both give output zero(0)
@naumanejaz8861
@naumanejaz8861 2 жыл бұрын
We are very thankful to you for making our new year special by encouraging us to enter to the world of programming which is the need of the day.
@kahkashankanwal
@kahkashankanwal 2 жыл бұрын
i am doing everything and thoroughly enjoying doing the course. Wish could have joined earlier
@faizaafzal121
@faizaafzal121 2 жыл бұрын
Done all... Great effort 👌 and thank you so much .Dr Aammar
@programmingholic
@programmingholic Жыл бұрын
Thanks for sharing, following done
@sahabkausar3097
@sahabkausar3097 2 жыл бұрын
Done allll Thank you brother
@ThinkCode-
@ThinkCode- Жыл бұрын
thankyou i am new student which is seeing your videos. and learning+enjoying alott.. thanks
@muhammadsohail1966
@muhammadsohail1966 2 жыл бұрын
Joke funny tha :-) or samjh bhi agai hy, thanks for easy explanation.
@AnsKhan
@AnsKhan 2 жыл бұрын
Done with this video too. Alhamdulillah typed and practiced. and yeah JOKE FUNNY THA !!!
@muhammadzeeshanafzal1996
@muhammadzeeshanafzal1996 2 жыл бұрын
Urdu me interperate krny sy joke thnda tha... lekin data structures ki achy sy smj aai hai. #Baba_Ammar sir JazakAllah.
@Lahori369
@Lahori369 2 жыл бұрын
Superb teaching...we love you BaBa G
@muhammadlatif1389
@muhammadlatif1389 3 ай бұрын
Subscribed and Codanics is the first channel where i Click the Bell Icon. and JOKE funny tha,
@abdurrasheed2938
@abdurrasheed2938 2 жыл бұрын
wow.. very very well explained the difference.. i had too much confusions before watching this video.. JazakaAllah baba g
@faizanmustafakhan8167
@faizanmustafakhan8167 2 жыл бұрын
33:18, lols, Baba G kia sense of humour ha ap ka coding ka, maza a geya yar. Salamat rahen
@mansoorhayat4576
@mansoorhayat4576 2 жыл бұрын
AWESOME, main apka fan ho gya sir
@baqirrajpoot5971
@baqirrajpoot5971 Жыл бұрын
Thanks baba for teaching us in this interesting way.
@Muhammad-nl6vw
@Muhammad-nl6vw 2 жыл бұрын
Jazakumullaha khaira
@nida7825
@nida7825 2 жыл бұрын
#Assignment list1.count() # function how it works? list1 = [1,2,3,3] list1 list1.count(3) #count the occurrences in a list #output was 2 list3 = [1,2,3,"hello", ["flower"], {1:4}, "hello"] # we can count numbers, strings, list etc. list3 list3.count("hello") #output was 2
@m.khazranshabbir2957
@m.khazranshabbir2957 2 жыл бұрын
passed.
@muhammadzeeshanafzal1996
@muhammadzeeshanafzal1996 2 жыл бұрын
Time stamp [22:00] to count the number of values in list we use len(list1) and to list1.count() is used to find that how many number of times a letter or a value in used in the list like to count "a" from list. we use list1.count(a)
@junaidkhalid2412
@junaidkhalid2412 2 жыл бұрын
Sir aammar your way of teaching is excellent. Ma sha Allah.
@MuhammadIjaz-yf6ho
@MuhammadIjaz-yf6ho 2 жыл бұрын
#19:02 list.count(value)
@wisalahmad2077
@wisalahmad2077 2 жыл бұрын
#18:18 l2 = [4, 3.2 "Wisal", True, 4, 2, 4] l2.count(4) print (l2) Output is 3 l2.count(2) print (l2) Output is 1
@HafizImran-b2d
@HafizImran-b2d 6 күн бұрын
Great Job Sir
@pkhunter5296
@pkhunter5296 2 жыл бұрын
Mashallah bro keep it up 🥰🥰
@shoaibbajwa-c3x
@shoaibbajwa-c3x 7 ай бұрын
Thank you Ammar Bai my name is khizar from gujwaranwala
@faizanmustafakhan8167
@faizanmustafakhan8167 2 жыл бұрын
Time 9:51, tup3+2 gives an error because 'tup3' is a tuple while '2' is an integer, so a tuple can't be intersected/concatenated with an integer
@360_Gammer
@360_Gammer 2 жыл бұрын
#Assignment list = [0,1,2,3,4] list list.count(1) output:1 list1=["apple", "banana", "cherry"] list1 list1.count("apple") output:1
@apnipiyaaskospritekar5107
@apnipiyaaskospritekar5107 Жыл бұрын
I like this man he has lot of skills of Python
@hassaanbutt67
@hassaanbutt67 2 жыл бұрын
#Assignement #Count List Elements Inside List exp = ['a', ('a', 'b'), ('a', 'b'), [3, 4]] count = exp.count(('a', 'b')) print("The count of ('a','b') is:", count)
@muhammadhannanyaqoob6018
@muhammadhannanyaqoob6018 2 жыл бұрын
Valuable information 👌.....
@SajidSpeaks5
@SajidSpeaks5 2 жыл бұрын
It's a really wonderful masterpiece, by the way, we've the same preference for food like Biryani and Samosa.
@ThinkCode-
@ThinkCode- Жыл бұрын
اسلام علیکم۔ سر جی آپ کا مقصد بہت بلند ہے۔ جزاک اللہ
@sultanmuhammad595
@sultanmuhammad595 2 жыл бұрын
#Assignment listOne=[1,1,1,1,1] #count returns the count of an element in a list listOne.count(1) # output: 5
@excellenteduinfo7894
@excellenteduinfo7894 2 жыл бұрын
@14:52 yes very imprtant
@tariqmahmood9278
@tariqmahmood9278 2 жыл бұрын
All your methods of teaching and knowledge is amazing Dear Sir. Joke hot tha ham nay punjabi translation ki.
@taimoorsk
@taimoorsk 2 жыл бұрын
# 10:00 we can concatenate a tuple by a tuple only. If we try to concatenate a tuple by an integer. it create Error
@Codanics
@Codanics 2 жыл бұрын
Similar data type ko mind myn rakhen
@struggleprogramming
@struggleprogramming 2 жыл бұрын
😊 First time I understand the Data Structures. { Data Structures ka Halwa Really Sir } Chicken ka Joke bohot funny tha. Thank you Sir
@huzefadatasci8411
@huzefadatasci8411 2 жыл бұрын
✍ Assignment for count() #18:21 =================== How to use count( arg ) on List count(arg) -> takes an argument for counting that particular element in list age_list_of_student = [12,10,6,23,11,18,13,16,7] I used my own variable name, anyone can use his/her own variable name age_list_of_student.count(16)¶ here we passed 16 to count in age_list_of_student list. ✍ Output: 1
@mizuins
@mizuins 7 ай бұрын
Joke funny tha or smj bhe a gaye
@dawood_analytics
@dawood_analytics 2 жыл бұрын
Joke funny tha. Dr>Great AAmmar
@aminaabdulrehman1923
@aminaabdulrehman1923 2 жыл бұрын
@19:03 list.count() is used to determine how many times an element exist in that list
@sultanmuhammad595
@sultanmuhammad595 2 жыл бұрын
again learned python with baba aammar
@technoo2086
@technoo2086 2 жыл бұрын
Learned python with baba aammar
@kahkashankanwal
@kahkashankanwal 2 жыл бұрын
time stamp 19:09 count function takes one argument which is specific member of list you want to count so if I write list1= [4, False, 'python_charm', 'kehkashan'] list1.count(False) output will be 1, because False appears once in the list1, list1.count(True) will output zero list1.count(4) output is 1
@junaidlatif2881
@junaidlatif2881 2 жыл бұрын
Amazing... ❤. Brother. Joke funny tha.
@SaleemKhan-vv3ks
@SaleemKhan-vv3ks 2 жыл бұрын
Outstanding
@SameerTanoli-1
@SameerTanoli-1 2 жыл бұрын
Geo ustad g
@zohaibmanzoor3173
@zohaibmanzoor3173 Жыл бұрын
Extraordinary explaination sir. Tbh i didn't show interest in coding but since i started make learning from u, my frustration converted to interest. and sorry sir joke thanda laga mujhy🤣
@rizzali4098
@rizzali4098 2 жыл бұрын
nice explained
@harisbashir8191
@harisbashir8191 2 жыл бұрын
#Asignment list3= (20,30,10,50,10,15,18,25,100) len(list3) list3.count(10)
@wafaabbas-sk8cs
@wafaabbas-sk8cs 6 ай бұрын
sir! kar deya like or subscribe samosson ke liye
@faizanmustafakhan8167
@faizanmustafakhan8167 2 жыл бұрын
Time 41:20, Ap ka joke funny tha Ammar bhai par 33:18 par zada maza aya
@hanifullah1088
@hanifullah1088 2 жыл бұрын
thanks for a another wonderful video and thanks for keep us active by such funny jokes. Bundle of thanks
@AnsKhan
@AnsKhan 2 жыл бұрын
@25:41 Chicken rolls "Aye Haye Aye Aye" 😋😋😋😋😋😋🤣🤣🤣🤣
@AbdulRahman-se9nm
@AbdulRahman-se9nm 2 жыл бұрын
good work
@EngineeringTutorialswithAzeemi
@EngineeringTutorialswithAzeemi 2 жыл бұрын
Alhamdullilah. Done And the joke was funny. 😂
@Codanics
@Codanics 2 жыл бұрын
😂
@mrasad6331
@mrasad6331 2 жыл бұрын
joke funny tha..............understood well
@data-science-tutors
@data-science-tutors 2 жыл бұрын
clear indexing sir
@muhammadayazrao8816
@muhammadayazrao8816 2 жыл бұрын
#sorting a list in descending order (ascending is in by default) list8=[-90,20,98,25,36,49,15,2.08] list8 [-90, 20, 98, 25, 36, 49, 15, 2.08] list8.sort(reverse = True) list8 [98, 49, 36, 25, 20, 15, 2.08, -90]
@Codanics
@Codanics 2 жыл бұрын
Thank you for mentioning it here
@rajakhizar8858
@rajakhizar8858 2 жыл бұрын
My way of practice is. I watch the entire video and make notes. At night I practice them on laptop and save it in Jupyter Notebook. And Yes Joke Funny Tha 🤣
@misshaswholecrush369
@misshaswholecrush369 2 жыл бұрын
Best
@S_rehman
@S_rehman 2 жыл бұрын
Joke was funny but lost in translation. aur mujhe samajh agai hai. Thank You Baba_G
@Codanics
@Codanics 2 жыл бұрын
😂
@taqi_haider
@taqi_haider 2 жыл бұрын
in list.count() function we have to put full value not a single digit like we are doing in string method i.e: name= (" katherine Allen") name.count(a) here it will count the specific alphabet which is in the string.
@saadulhassansyed9686
@saadulhassansyed9686 2 жыл бұрын
Joke funny tha aur keep it entertaining like that If you would have told comparison in between these structures, it would have been a lot better . like when to use tuples and when to use dict
@FAIFACTS
@FAIFACTS 2 жыл бұрын
# joke funny tha. I have learnt all the things
@syedadilali5485
@syedadilali5485 2 жыл бұрын
MASHA ALLAH Apny kafi acha sekhayaa Literally joke samj aya mgr funny bilkul nae tha Mgr mai phr b hasa q k apny samjaya acha tha 😆😉
@ahsanzafar4921
@ahsanzafar4921 2 жыл бұрын
Why we cant add integer to tuple? Because tuple are immutable data types, in order to add values to tuples add values in this format tup3 + (10,), just use brackets around the value you want to ad to tuple and use a comma before right parenthesis.
@hyderali209
@hyderali209 2 жыл бұрын
thank you baba jee. lots of prayers for you. and joke funny nhe tha ,lekin smajh agya :D
@hammadsaleem7980
@hammadsaleem7980 2 жыл бұрын
#Assignment list2 = [3, 5, 'Aammar', 3.5, 478, False, 'Chilla', 'Added string', 'Added string'] list2.count("Added string") Output: 2
@ahsanzafar4921
@ahsanzafar4921 2 жыл бұрын
# How list count function works list1.count(value_you_want_to_count), e.g # How list count function works list1.count("mobile"), it will count how many times word mobile is present in our list
@muhammadawais5377
@muhammadawais5377 2 жыл бұрын
completed this lecture and you make it very easy to understand joke heavy tha sir , punjabi me bhi suna diya karein :p JazakAllah 26 june 2022
@mugheezAhmed
@mugheezAhmed 2 жыл бұрын
In dictionaries update() function is not working . I am trying the same
@naumanejaz8861
@naumanejaz8861 2 жыл бұрын
37:41 minutes the joke was nice. When you are doing the work on weekend and time is 4am and you feel hungry and you listen the story of hungry man then you will not control your lauguing.
@withrija6527
@withrija6527 2 жыл бұрын
Baba g I tried this for addition tup1[2] + tup2[2] Out 4.5
@baoogi6532
@baoogi6532 2 жыл бұрын
thank you
@FaizanKhan-dw4kf
@FaizanKhan-dw4kf 2 жыл бұрын
Joke funny tha.
@linuxs4s
@linuxs4s 2 жыл бұрын
09:43 touples immutable hotee ha, iss lia inn ko change nahi kr satka. I think iss lia error dee reha ha.
@MujeebJan
@MujeebJan 2 жыл бұрын
(again learned python with baba aammar)
@AliHasan-oy9wu
@AliHasan-oy9wu 2 жыл бұрын
#Codanics Assignment lis3 = ["a","a","e","e","i","o","u"] lis3 lis3.count("a") Output = 2
@SajjadJaved01
@SajjadJaved01 Жыл бұрын
joke funny tha, im learning things. :)
@muhammadsaif7984
@muhammadsaif7984 2 жыл бұрын
Yes Joke funny tha!
@jahanzaibmukhtar9319
@jahanzaibmukhtar9319 2 жыл бұрын
#Assignment: list1= ["jahanzaib", 3.0, False] list1 list1.count("jahanzaib") output is 1
@jahanzaibmukhtar9319
@jahanzaibmukhtar9319 2 жыл бұрын
Idk why I must have to write "list1", that mostly used to print function, in 2nd row. otherwise errors were popping up. anyone who could elaborate me this? otherwise i always placed list1 after writing function
@hamidwasif4489
@hamidwasif4489 Жыл бұрын
Timestamp 20:54 How did all elements appear in 1 column?
@gamesden8021
@gamesden8021 Жыл бұрын
sir plz explain in 0:25 Tuple i observe in self practice i write a code : tup=(20) gives output 20 and then cheak type give int type why plz explain why change tuple into int and second is subtraction of two tuple give an error unsuported operand type why plz explain??
@everythingabouthongkong3326
@everythingabouthongkong3326 2 жыл бұрын
Just ordered Baryani 😋,
@Codanics
@Codanics 2 жыл бұрын
Bhookay kahin k sulaah b maaar letay hyn
@habibkhan960
@habibkhan960 2 жыл бұрын
Done
@withrija6527
@withrija6527 2 жыл бұрын
Joke was good baba g
@latestitems8531
@latestitems8531 2 жыл бұрын
Sir g joke funny tha ;)
@rahatnaqvi
@rahatnaqvi 2 жыл бұрын
Joke was new and funny 😆
@muhammadasif834
@muhammadasif834 2 жыл бұрын
Joke funny tha 😄
@jmych
@jmych 2 жыл бұрын
list1.count() works similarly as food.count()
@jmych
@jmych 2 жыл бұрын
"Pain Tuadi Chatt tey Saada Udd K Aya Aey" :D samajh agayi
@RainBow-kh6fb
@RainBow-kh6fb Жыл бұрын
Joke funny tha😂😂😂
06- Live Session (DAY-2) | #baba_aammar #python_ka_chilla
1:41:32
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 11 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 14 МЛН
SQLite Databases With Python - Full Course
1:29:37
freeCodeCamp.org
Рет қаралды 691 М.
Lecture 1: Introduction to CS and Programming Using Python
1:03:30
MIT OpenCourseWare
Рет қаралды 897 М.
30- Exploratory Data Analysis (EDA) with Python (Day-14)
58:27
09- Python_ka_chilla (Day-4)- Zoom class
35:25
Codanics
Рет қаралды 10 М.
PySpark Tutorial
1:49:02
freeCodeCamp.org
Рет қаралды 1,3 МЛН