Lecture 4 : Dictionary & Set in Python | Python Full Course

Поделиться
HTML-код
  • Опубликовано: 1 янв 2025

Комментарии • 568

  • @RahulGPT-A
    @RahulGPT-A 11 месяцев назад +687

    Attendance ✅

    • @ImRich-xo8cm
      @ImRich-xo8cm 11 месяцев назад +3

      Total kitne chapters hone Wale hai python me ?

    • @ZainAliTheem20
      @ZainAliTheem20 11 месяцев назад +1

      I could not understand Set() is muteable or not

    • @ImRich-xo8cm
      @ImRich-xo8cm 11 месяцев назад +1

      ​@@ZainAliTheem20hello bro total kitne chapters hone Wale hai python me

    • @cham24.7
      @cham24.7 11 месяцев назад

      ​@@ImRich-xo8cm 8 chapter ✅

    • @bhavesh-kumar-444
      @bhavesh-kumar-444 11 месяцев назад +1

      4

  • @shekharbisht499
    @shekharbisht499 9 месяцев назад +44

    00:01 Covering Dictionary and Set in Python
    02:03 Dictionaries store data in key-value pairs.
    06:09 Dictionary in Python allows for mutable and unordered key-value pairs.
    08:10 Dictionary in Python allows to access, change and assign values
    12:16 Using dictionaries to store nested data in Python.
    14:10 Working with dictionary keys and type casting
    18:07 Working with tuples and dictionaries in Python
    20:00 Understanding errors and methods in dictionary operations
    23:41 Using methods to modify dictionaries in Python
    25:36 Dictionary in Python allows for storing multiple values with unique keys.
    29:17 Working with dictionaries and sets in Python
    31:06 Sets in Python ensure unique values and can be created using a specific syntax.
    35:23 Understanding dictionaries, sets, and their properties in Python
    37:33 Understanding the clear and pop methods in Python sets.
    41:37 Understanding Dictionary and Set operations in Python
    43:21 Understanding dictionaries and key-value pairs in Python
    47:10 Understanding dictionaries and sets in Python
    49:15 Working with dictionaries and sets in Python.
    53:04 Creating sets in Python for storing pairs and values

  • @Siddhartha-s-bhardwaj
    @Siddhartha-s-bhardwaj 11 месяцев назад +263

    @Shradha Khapra , Mam,
    I think at the End of all the lectures or main topics you should teach us 2-3 projects which covers whole python concepts.
    Projects helps a lot.

    • @mikeytoman4153
      @mikeytoman4153 10 месяцев назад +13

      well it is very early to build a project because it is very basics so after the course then I agree with you we need protect

    • @pankajnamasudra
      @pankajnamasudra 9 месяцев назад +3

      yes mam

    • @sudarshanpawar7129
      @sudarshanpawar7129 6 месяцев назад +1

      mam please make a video on matrix in python .

    • @SHARIQKHAN-v2e
      @SHARIQKHAN-v2e 21 день назад

      Nah my bro this course is actually for beginners and we need to learn some libraries of python to do projects... But for logic building it would be better if we'll do practice questions from google ot gpt

    • @zafariqbalzafariqbal2267
      @zafariqbalzafariqbal2267 3 дня назад

      sab tag karain
      ya bohat helpful ho ga

  • @jakkavaishnavi474
    @jakkavaishnavi474 7 месяцев назад +30

    01:04 Dictionary
    => stores data in key:value pairs (like word: meaning)
    => dict = {
    "key1" : "value"
    "key2" : "value"
    }
    => lists and tuples can also be stored in dictionary
    => key cant be lists/ dict... key can be a floating number, integer, boolean value
    => dictionary is generally mutable
    => to keep it simple we use strings to name key values
    PROPERTIES OF DICTIONARY
    => unordered... unlike in list, tuple and string as we have index there but not in dict
    => here duplicate keys aren't possible
    To access the elements of a dictionary
    print(name of dict["key name"])
    => if key name is not existing thenit showsn ana error
    => to change the vlaues
    dict["key name"] = "re-assigned value"......
    the old value shall be over-written
    => in the same way we can add a new key: value pair in python
    => to have an empty dictionary ...
    null_dict ={}
    ...initially defined then as time passes we can dd elements in the dictionary
    NESTED DICTIONARY
    => To add a sub dictionary in a dictionary
    => to extract the info from a dictionary
    print(name of dict["key1"]["subkey"])
    METHODS IN DICTIONARY
    Dot keys methods
    => myDict.keys()
    => to typecast as list we write as list( myDict.keys())
    => print(len(dict))....total number of key value pairs (or) print(len(dict.keys()))
    => myDict.values() .....gives the values
    => myDict.items()....returns all the key: value pairs as tuples
    => We can also type cast the tuple into list as
    vaiable = list(myDict.items())
    => muDict.get("key").... returns the key acc to value
    d["key'] (or) d.get("key) to get value of the key
    => [ ]- notation returns an error if the key value isn't existing but second one returns none as the key value doesn't exist
    => we follow second one as there exists less probability of error and if there is error also it doesnt affect the program written after
    => myDict.update({newDict})....inserts specified elements to the dictionary... use curly braces
    => To add multiple elements together seperate them using a comma
    => If same key is used again in the same method then the old key is overwritten here
    Tqsm Shradha mam Lots of love 😊😊

  • @santoshkashid2823
    @santoshkashid2823 Месяц назад +8

    Great job, Shardha! All your sessions have been excellent.
    I’m 43 years old and currently supporting cloud infrastructure. I am transitioning into automation in networking and security. Initially, I was very worried about learning Python, but your teaching style has given me the confidence to move forward.
    Thanks to you, I’m determined to start my automation journey within the next two months at most. God bless you!

    • @MrShreeshant
      @MrShreeshant Месяц назад +1

      Shardha❎ Shraddha ✅🗿🗿

  • @Anonymous-Guy-01
    @Anonymous-Guy-01 11 месяцев назад +84

    Hi didi, Please go ahead with this python series & cover the topics like functions & modules, advance structures like stacks, queues & linked lists, OOP in Python e.t.c & try to make a oneshot on Django. Hope so you'll help many Python learners out there 🥺🙏

    • @awaiszain8502
      @awaiszain8502 8 месяцев назад

      you go to hell she is our teacher i am muslim and islam taught to respect your teachers plz

  • @Nikhilsing5690h
    @Nikhilsing5690h 11 месяцев назад +18

    Arey yrr mai idhar udhar ghum raha tha finally playlist mil gai yrr❤❤😂

  • @HimanshuKumarMaurya-kv8pp
    @HimanshuKumarMaurya-kv8pp 4 дня назад

    29:55
    S={1,34,56,}
    print(S)
    print(type(S))
    41:20
    #union works in set
    Set1={1,2,3,4}
    Set2={1,4,5,2}
    print(Set1.union(Set2))
    42:35
    #intersection in set
    Set1={1,2,3,4}
    Set2={1,4,5,3,2}
    print(Set1.intersection(Set2))

  • @nazneenmujawar8813
    @nazneenmujawar8813 11 месяцев назад +7

    As m revising python these videos r helping me n ur way of teaching is toooo good..some concepts which i had not understood i got it by ur videos ....Thank u so much for dis wonderful videos❤❤

  • @uchihaclan710
    @uchihaclan710 6 месяцев назад +41

    print("WONDERFUL SESSION")

  • @AJosl360
    @AJosl360 2 месяца назад +1

    Summary :----->
    00:01 Covering Dictionary and Set in Python
    02:03 Dictionaries store data in key-value pairs.
    06:09 Dictionary in Python allows for mutable and unordered key-value pairs.
    08:10 Dictionary in Python allows to access, change and assign values
    12:16 Using dictionaries to store nested data in Python.
    14:10 Working with dictionary keys and type casting
    18:07 Working with tuples and dictionaries in Python
    20:00 Understanding errors and methods in dictionary operations
    23:41 Using methods to modify dictionaries in Python
    25:36 Dictionary in Python allows for storing multiple values with unique keys.
    29:17 Working with dictionaries and sets in Python
    31:06 Sets in Python ensure unique values and can be created using a specific syntax.
    35:23 Understanding dictionaries, sets, and their properties in Python
    37:33 Understanding the clear and pop methods in Python sets.
    41:37 Understanding Dictionary and Set operations in Python
    43:21 Understanding dictionaries and key-value pairs in Python
    47:10 Understanding dictionaries and sets in Python
    49:15 Working with dictionaries and sets in Python.
    53:04 Creating sets in Python for storing pairs and values
    thankyou

  • @nishaanjum4901
    @nishaanjum4901 8 месяцев назад +11

    THE good thing is that we have a good range of exercises at the end of the lecture. Thank you maam!

  • @RishiBhardwaj-u7b
    @RishiBhardwaj-u7b 4 дня назад

    Didi you rock in teaching . Seriously all my friends and my hostel students watch your lectures, advice , and much more. I really loved your teaching and I hope all teachers were as same as you.Thank you Didi I also learnt java by seeing your lectures and at present learning python and web development from you lectures.

  • @PrashantSingh-qg2yi
    @PrashantSingh-qg2yi 8 месяцев назад +13

    *I don't know when this video recorded but still - Just a heads-up that in Python versions 3.7 and later, dictionaries are actually ordered! This means the order you add key-value pairs is the order you'll get when you loop through them or convert them to a list.*

  • @gchethan9472
    @gchethan9472 2 месяца назад +3

    Hello all
    This one the best python basic lecture you will ever get,
    In the entire video she never asked for subscribe or like.
    Let’s encourage her to do more courses like this and help crores of students and learner’s. Keep up the good work Shraddha and keep on helping people.

    • @zipifyme
      @zipifyme 2 месяца назад

      hi kitne lectures complete hue ?

  • @rounakverma8115
    @rounakverma8115 11 месяцев назад +7

    This python series is very helpful for me, thanks a lot team apnacollege for providing this wonderful series…..

  • @rajaga.raheem6103
    @rajaga.raheem6103 11 месяцев назад +3

    Out class no words to explain my feelings from Pakistan ❤❤❤❤lots of love Shraddha

  • @ramakrishnaboyapati9930
    @ramakrishnaboyapati9930 3 месяца назад +1

    you are good because you are not wasting the time and going fast. Exactly this is I am looking for.

  • @Arfajsheru
    @Arfajsheru Месяц назад +1

    42:52
    # ite's my practice Practice
    # 1) Write a program to store following word meanings in a python dictionary:
    # table : "A Piece of furniture", "List of facts & figures"
    # cat: "A small animal"
    store = {
    "cat": "A small animal",
    "table": ["A piece of furniture", "list of facts & figures"]
    }
    # 2) You are fiven a list of subjects for students. Assume one classrooom is required for a subject. How many classrooms are needed by all studentes.
    subjects = ["python","java", "c++", "python", "javascript","java", "python", "java", "c++", "c"]
    setSubjects = set(subjects)
    print(setSubjects)
    print(len(setSubjects))
    # 3) Write a program to enter marks of 3 subjects from the user and store them in a dictionary. Start with an empty dictionary & add on by one. Use subject names as key & marks as value.
    stu_res = {}
    total_marks = 0
    for i in range(1,5):
    subjects = input(f"Enter your {i} subjects name: ")
    marks = int(input(f"Enter marks for {subjects} (out of 100): "))
    stu_res[subjects] = marks
    total_marks += marks
    print(stu_res)
    print(stu_res.keys())
    average_marks = total_marks / len(stu_res)
    percentage = (total_marks / (len(stu_res) * 100)) * 100
    if percentage >= 90:
    feedback = "Excellent"
    elif 70

  • @ranaawais839
    @ranaawais839 3 месяца назад +1

    What a great way of teaching. Love from Pakistan.😍😍😍🥰😘

  • @jinglemingle-w6m
    @jinglemingle-w6m Месяц назад +1

    great , am amazed at this amazing work supper cool. thank you for providing such an outstanding and hhighly interactive lectures. i am ex-college english lecturer and am amazed at your work.

  • @Moneygrabr
    @Moneygrabr 3 месяца назад +4

    Shraddha is quite obsessed with her cgpa i.e. 9.4 , she be putting it everywhere

  • @factyoutuber-ju3hn
    @factyoutuber-ju3hn 14 дней назад +1

    student={}
    n=int(input("enter no of subjeects to be entered :"))
    for i in range(n):
    key=input("enter your key :")
    value=int(input("Enter your marks :"))
    student.update({key:value})
    print(student)

  • @rajeshkumar-cg4vn
    @rajeshkumar-cg4vn 2 месяца назад +2

    In Python, sets are mutable. This means you can modify a set after it is created, by adding or removing elements.

  • @shreyatiwari7070
    @shreyatiwari7070 11 месяцев назад +2

    THANK YOU SO MUCH SHRADDHA DI.....THIS COURSE IS REALLY VERY HELPFUL.......PLEASE COVER ALL AREAS RELATED TO PYTHON...LOTS OF LOVE....🤗🤗❤❤❤❤

  • @LokeshKumar-it7nu
    @LokeshKumar-it7nu 5 месяцев назад +3

    set = {(9,9.0)}
    print(type(set))
    print(set)
    it works properly without writing int and float.

    • @arnavdevgan6881
      @arnavdevgan6881 Месяц назад +2

      Is it because you used one tuple itself in the set?

  • @Orakzai_Jama
    @Orakzai_Jama 2 месяца назад +1

    Best teacher ever i seen on RUclips ❤

  • @user-ZHL75
    @user-ZHL75 11 месяцев назад +15

    Thank You didi For your Amazing class....
    i have become your Fan in only 3 classs....
    Love from Bangladesh😍😍😍

  • @suman1757
    @suman1757 Месяц назад +1

    You are best teacher you make coding easier 😊

  • @umaarahmed
    @umaarahmed 22 дня назад +2

    print("you are best best teacher ")😍🥰

  • @science55
    @science55 11 месяцев назад +4

    Thanks Dear
    I started this course from lecture First

  • @govindkaushik7967
    @govindkaushik7967 3 месяца назад +4

    # WAP to enter marks of 3 subjects from the user an store them in a dictionary .
    sub_marks={
    'hindi':input("enter your hindi marks :"),
    'english':input("enter your english marks :")
    }
    print(sub_marks)
    print(type(sub_marks))

  • @arnavdevgan6881
    @arnavdevgan6881 Месяц назад +1

    44:09 can we also store it in one string only, like this:
    dict1={
    "table":"A piece of furniture, a list of facts and figures",
    "cat": "A small animal"
    }
    print(dict1)

  • @rohit7590
    @rohit7590 6 месяцев назад +1

    Yourr explanation is excellent mam♥️🙏.
    Hatts of to ur efforts on making useful videos like this many more

  • @learnwithnagma
    @learnwithnagma 11 месяцев назад +3

    Thank you so much didi for your efforts 🙌👍✨.
    Literally enjoyed via studying from you 😊.

  • @wifiinfotech
    @wifiinfotech 6 месяцев назад +2

    खपड़ा जी आप बहुत अच्छा पढ़ाती है
    Thankyou

  • @hyperionedits17
    @hyperionedits17 7 месяцев назад +4

    code for 2nd last excersice
    data = {}
    phy = input("Enter marks in phy")
    data.update({'phy': phy})
    chem = input("Enter marks in chem")
    data.update({'chem': chem})
    bio = input("Enter marks in bio")
    data.update({'bio': bio})
    print(data)

    • @MridulBisht-t9g
      @MridulBisht-t9g 5 месяцев назад +1

      bro jo input hai na usko int me type cast kar as input is by default string data type ka hota hai . error aa jayega

    • @hyperionedits17
      @hyperionedits17 5 месяцев назад +1

      @@MridulBisht-t9g thannks bro

    • @Imyoursk11ddo
      @Imyoursk11ddo Месяц назад

      yes and u can also use eval instead of int

  • @JatinJangid-x5y
    @JatinJangid-x5y 5 месяцев назад +8

    #solution
    dict = {}
    num1= int(input("enter marks for english"))
    num2= int(input("enter marks for hindi"))
    num3= int(input("enter marks for python"))
    dict.update({"english":num1})
    dict.update({"hindi":num2})
    dict.update({"python":num3})
    print(dict)

    • @arnavdevgan6881
      @arnavdevgan6881 Месяц назад +1

      48:46 it is written "add one by one" in the question

  • @umaarahmed
    @umaarahmed 22 дня назад +1

    love from Pakistan really such a beautiful way of teaching

    • @YashMishra-l1w
      @YashMishra-l1w 9 дней назад

      India ke channel se coding seekh kar , missile banaoge phir hum par hi attack karoge 😮‍💨😮‍💨

  • @Scriptsupport3756
    @Scriptsupport3756 Месяц назад +2

    print("Best teacher ")
    print("Thank you ma'am")

  • @worldofphysics121
    @worldofphysics121 4 месяца назад

    @shradhaKD
    Thankyou so much for this series. it's awesome. I'm not a IT background, I'm a physicist. I will mention you in my success also in Thesis.

  • @faheemabbas9310
    @faheemabbas9310 8 месяцев назад +4

    😢😢😢
    itni khushi
    itni khushi mujay aaj tak nai hui
    kia Zabardast padhati hn ma'am
    Meri Dua ha k Allah inko Salamat rakhy

  • @manojvv2991
    @manojvv2991 Месяц назад

    Explanation is very good❤

  • @melisafernandes457
    @melisafernandes457 6 месяцев назад +1

    Really useful videos❤Thank you so much❤

  • @shaikkhureshi7539
    @shaikkhureshi7539 6 месяцев назад +2

    22:45 .............Error may occurs And also We Can Identify Where The Error Is Occured Useing It"s
    Its Not Much Difficult To Identify It..........................

  • @prashantkrsingh-qg7in
    @prashantkrsingh-qg7in 3 месяца назад +1

    thankyou so much for this wonderful playlist of python i admire your effort ❤
    if possible plz uplaod videos of python with DSA

  • @tausifeditor2.0
    @tausifeditor2.0 3 месяца назад +1

    subject = {}
    sub1 = input("Enter Your 1st Subject:")
    marks1 = int(input("Marks:" ))
    sub2 = input("Enter Your 2nd Subject:")
    marks2 = int(input("Marks:" ))
    sub3 = input("Enter YOur 3th Subject:")
    marks3 = int(input("Marks:" ))
    subject[sub1]= marks1
    subject[sub2]= marks2
    subject[sub3]= marks3
    print(subject)
    print(type(subject))

  • @Dot2gaming
    @Dot2gaming 4 дня назад

    at 48:56 , I wrote this script
    result = {}
    marks_sci = int(input("Enter ur marks of Bangla : "))
    marks_english = int(input("Enter ur marks of English : "))
    marks_math = int(input("Enter ur marks of math : "))
    result["bangla"] = marks_sci
    result["english"] = marks_english
    result["Math"] = marks_math
    print(result)

  • @imranhaiderish
    @imranhaiderish 8 месяцев назад +2

    Too easy way to teach thanks a lot. :)

  • @MakhanNikum-r7z
    @MakhanNikum-r7z 11 месяцев назад +1

    Tq mam. Actually I am waiting for this video now day 🙏🙏

  • @aniketkeshari4114
    @aniketkeshari4114 7 месяцев назад

    Set ={}
    Set.add =("physics: 67 ,")
    Set.add =( "chemistry 65 ,)
    Set.add = ("art 65 ,)
    Print(set) 48:29

  • @BUNNY-yh2wg
    @BUNNY-yh2wg 11 месяцев назад +7

    I kindly request
    PLEASE UPLOAD THE VIDEOS DAILY💛

  • @AbdulSamad-cl9zx
    @AbdulSamad-cl9zx 3 дня назад

    52:23
    kiya hum float aur integer value ko "sets" me is tarha add nahi kar sakte ?
    value = {(float, 9.0), (int, 9)} # with-out double quotion's .

  • @yuvrajsinhsolanki0013
    @yuvrajsinhsolanki0013 Месяц назад +2

    Thank you 🥰

  • @Sobuj527
    @Sobuj527 10 месяцев назад +1

    Thanks for your helpful lectures 😊

  • @MovieOk-p8q
    @MovieOk-p8q 11 месяцев назад +4

    Yr sb python dsa ke liye request kro.
    1 sem me to khi se bhi pdh liya.
    But wnd sem me ache se pdhna hai. Systematic way me.😊❤😊❤😊
    Idhar udhar se ek ek topic ni pdhna.❤❤🎉😊🎉😊🎉😊

  • @raohammadraza
    @raohammadraza 10 месяцев назад

    Thank You So much DiDi For your Amazing class....
    I have been listening to you for a year mashallah may Allah give you more progress your teaching method is very good keep it up.
    I'M from Pakistan , I thank you enough because I have learned a lot from you Javascript HTML CSS SQL and Python , I look forward to your every lecture thank you very much

  • @nishaanjum4901
    @nishaanjum4901 8 месяцев назад +2

    Miss as using pop attribute we can delete a random value. I didn' t find why we use this and what's the benefit of using this property?

  • @HuzaifaShaikh-gf4lt
    @HuzaifaShaikh-gf4lt 4 месяца назад

    very good tutorial for students thank you sister❤❤

  • @KuldeepSingh-nq1vi
    @KuldeepSingh-nq1vi 10 месяцев назад +1

    Incredible knowledge base, keep it up

  • @ShikhaPatel-sf6lr
    @ShikhaPatel-sf6lr 9 месяцев назад +1

    Ma'am,
    Last vale Question(duration-50:10) ko ham *Union* set method ka use karke bhi kar sakte hai .

  • @DhritiYadav-iy4cv
    @DhritiYadav-iy4cv 3 месяца назад +2

    We love your classes,
    Please make video lecture on pygame development 😢
    Its our request
    Vote for lectures on pygame
    👇

  • @zafariqbalzafariqbal2267
    @zafariqbalzafariqbal2267 3 дня назад

    Alhumdullilha 💖
    Satisfied

  • @MovieOk-p8q
    @MovieOk-p8q 11 месяцев назад +1

    Mam ise badh please python dsa ki video.❤❤❤🎉🎉
    RUclips pe python me dsa ki koi video hi ni hai. ❤❤❤❤😊
    Ese me agr ap dsa in python ki video bna doge to 😊😊❤
    Aap aur bhi famous ho jaoge.
    Joki ap pehle se hi ho.
    And apse acha youtube pe to koi pdhata bhi ni.❤❤❤❤🎉🎉🎉🎉

  • @mananali6331
    @mananali6331 2 месяца назад +1

    set={"python","java","c++","python","javascript","java","python","java","c++","c"}
    len=len(set)
    print("number of classrooms are", len)

  • @P_R_lovebird
    @P_R_lovebird 11 месяцев назад

    This IS veryyy wonderful session ma'am 🌼💖❣️

  • @tausifeditor2.0
    @tausifeditor2.0 3 месяца назад +1

    val = set()
    num1 = 9
    num2 = 9.0
    val.add(num1)
    val.add(num2)
    print(val)
    print(type(val))

  • @kartikjangir2116
    @kartikjangir2116 4 месяца назад +1

    53:37
    another possible solution without typing float and int
    x = set()
    x.add(9)
    x.add((9.0,))
    print(x)
    print(type(x))

  • @pradeepahirwar3663
    @pradeepahirwar3663 11 месяцев назад +1

    Nice Session Ma'am... Very Useful.

  • @SIMPLEBOY01825
    @SIMPLEBOY01825 9 месяцев назад +1

    thank you so much di for zero cost super content ..

  • @JunaidSaeed-officials
    @JunaidSaeed-officials Месяц назад

    mark = {}
    x = input ("Please enter your subject 1 with marks")
    y = input ("Please enter your subject 2 with marks")
    z = input ("Please enter your subject 3 with marks")
    (mark.update({"PHY":x}))
    (mark.update({"bio":y}))
    (mark.update({"Chemistry":z}))
    print(x,y,z)
    print(mark)

  • @KHURRAMSHAHZAD-ez3qr
    @KHURRAMSHAHZAD-ez3qr 4 месяца назад +3

    A-o-A mam,
    key() function does not print the nested key, but value() function print the values of nested function, why?

    • @iamuseless1
      @iamuseless1 3 месяца назад

      bcoz in dictionaries, the keys() function returns only the top-level keys, while the values() function returns all values, including those in nested dictionaries.

  • @HassanAli-mm5eq
    @HassanAli-mm5eq 5 месяцев назад +1

    wow very nice session thank you🤩

  • @VarshaTomar-g4p
    @VarshaTomar-g4p 10 месяцев назад

    Ma'am you are very grateful ❣️❣️

    • @ThePankajkarn
      @ThePankajkarn 3 месяца назад

      sabko pata hai yeh cheez😂😂😂😂

  • @thepathfinder2.07
    @thepathfinder2.07 10 месяцев назад

    Thank you so much ma'am ❤️😊

  • @aniketkeshari4114
    @aniketkeshari4114 7 месяцев назад

    A = dict()
    Table:"a peace of furniture ,"list of facts & figures"
    Cat :"a small animal "
    Print (dict(a))

  • @ZeeshanHaider-kp3pb
    @ZeeshanHaider-kp3pb 7 месяцев назад +10

    mam mai na calculator banaya ap ki 2 video daik kar 3 vedio daik kar grade calculator banaya i am 13 year old and i am a poor student yeh computer mira nie hai

    • @guildbuddy7391
      @guildbuddy7391 5 месяцев назад +7

      Bro gonna beat Elon Musk🗿🗿

  • @sayanbarai9425
    @sayanbarai9425 Месяц назад +1

    18:40
    @Shradha Khapra Mam how can I individually access those pairs directly without getting a new variable "pairs"?
    print(student.items[0]) > it shows error . plz help me

    • @siddivinayak428
      @siddivinayak428 2 дня назад

      Same problem bro i also getting error at this point.
      Do you got the solution?

  • @Sabkacollege-zb3fk
    @Sabkacollege-zb3fk 11 месяцев назад +1

    Thank you didi for 4 lecture -first comment

  • @Saurav_Kumar_009
    @Saurav_Kumar_009 9 месяцев назад

    Thanks You Dii For this lecture ❤️

  • @Keshuke-97
    @Keshuke-97 5 месяцев назад +1

    Thank you for this lecture

  • @GalaxyCookies76
    @GalaxyCookies76 7 месяцев назад

    Real time usage of set in python:
    Suppose you have a list of patient names in a healthcare system. You want to remove any duplicate entries.
    patient_names = ['Alice', 'Bob', 'Alice', 'Charlie', 'Bob']
    unique_patients = set(patient_names)
    print(unique_patients)
    Output: {'Alice', 'Bob', 'Charlie'}

  • @muhammadkazim9420
    @muhammadkazim9420 3 месяца назад

    marksValue = {"English":int(input("English: ")),"Phy":int(input("Phy: ")),"Maths":int(input("Maths: "))}
    dict_keys = list(marksValue.keys())
    dict_val = list(marksValue.values())
    result={}
    result[dict_keys[0]] = dict_val[0]
    result[dict_keys[1]] = dict_val[1]
    result[dict_keys[2]] = dict_val[2]
    print(result)

  • @MICHAELSTUDYCENTRE432
    @MICHAELSTUDYCENTRE432 11 месяцев назад

    Thanks for video 🙋♥️✍️📚.......😘

  • @Expertcookinghere
    @Expertcookinghere 19 дней назад +1

    Maam jab haam actual code karenge toh haame kise pata chalega ki dictionary ya sets use karna

  • @Khushijaiswal074
    @Khushijaiswal074 2 месяца назад

    Imp timestamps
    5:20
    10:40
    13:30
    25:00
    35:00
    47:45
    49:00
    52:00

  • @zeeshansharif0227
    @zeeshansharif0227 11 месяцев назад +1

    Respect and Love From Pakistan.

  • @a89481
    @a89481 4 месяца назад

    48:37
    Marks = {}
    Stu_marks = {str(input("subject: ")) : int(input(" Marks: ")),
    str(input("subject: ")) : int(input(" Marks: ")),
    str(input("subject: ")) : int(input(" Marks: "))}
    Marks.update(stu_marks)
    print(Marks)
    This way is better or not?

  • @zainmalik5945
    @zainmalik5945 5 месяцев назад +3

    Attendance in college ❌ attendance in apna college 😎✅

  • @PushpitJain-u1g
    @PushpitJain-u1g 4 месяца назад

    subject = {}
    x =str(input("enter subject" ))
    y =int(input("marks"))
    subject.update({x:y})
    x =str(input("enter subject" ))
    y =int(input("marks"))
    subject.update({x:y})
    x =str(input("enter subject" ))
    y =int(input("marks"))
    subject.update({x:y})
    print(subject)

  • @abhaygupta9822
    @abhaygupta9822 3 месяца назад

    Print(”Wonderful Session”)

  • @akhilbhai7276
    @akhilbhai7276 4 месяца назад +1

    33.22 what i understand is basically aak is pak ,pak is aak so akkpak

  • @saatvikganjai1018
    @saatvikganjai1018 6 месяцев назад +2

    Didi I got a doubt
    does this program work for dictionary,if not why?
    dict={
    input("enter subjects name "):float(input("enter the makrs for specified subject ")),
    input("enter subjects name "):float(input("enter the makrs for specified subject ")),
    input("enter subjects name "):float(input("enter the makrs for specified subject ")),
    }
    print(dict)

    • @iamuseless1
      @iamuseless1 3 месяца назад

      no. wrong syntax is being used. try using loops instead

  • @mahendra8424
    @mahendra8424 3 месяца назад

    class GreatTeacher(Exception):
    def __init__(self, message="Inspiring, patient, and always ready to debug life's challenges!"):
    super().__init__(message)
    def compliment_teacher(teacher):
    try:
    if isinstance(teacher, GreatTeacher):
    raise teacher
    except GreatTeacher as gt:
    print(f"Complimenting: {gt}")
    teacher = GreatTeacher()
    compliment_teacher(teacher)

  • @toretto1185
    @toretto1185 2 месяца назад +1

    maam dictionary is Orderd it never change the positon of key values like set .if it is unorderd why the position of key and value are same.

  • @dailyuploads3959
    @dailyuploads3959 4 месяца назад

    WAP to get the values of marks of 3 subject from the user and store theme in dictionary with subject name and marks. Make sure that the dictionary is delcare as empty
    ---------
    subject_and_marks = {}
    subj1_marks = int(input("Enter subj1 marks"))
    subj2_marks = int(input("Enter subj2 marks"))
    subj3_marks = int(input("Enter subj2 marks"))
    subject_and_marks["subj1"] = subj1_marks
    subject_and_marks["subj2"] = subj2_marks
    subject_and_marks["subj3"] = subj3_marks
    print(subject_and_marks)

  • @kavitapandye1114
    @kavitapandye1114 10 месяцев назад +1

    You are doing great job,please make full playlist of django after this

  • @lifeGoesOn_kimo
    @lifeGoesOn_kimo 7 месяцев назад +1

    Mam I have a doubt
    After running the code why it is showing dict_keys on the console
    Whereas the dictionary name is student
    I think it should be student_keys TIME 18:48

  • @Adityasshenoy-rw4ox
    @Adityasshenoy-rw4ox 11 месяцев назад +1

    Thank you madamji.. got notes too...

  • @MySukhada
    @MySukhada 4 месяца назад

    set1 ={"Python", "Java", "Java script","C++", "Python"}
    set2 ={"Java", "Python", "Java", "C++","C"}
    print(len(set1.intersection(set2)))