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

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ธ.ค. 2024

ความคิดเห็น • 539

  • @RahulGPT-A
    @RahulGPT-A 10 หลายเดือนก่อน +662

    Attendance ✅

    • @ImRich-xo8cm
      @ImRich-xo8cm 10 หลายเดือนก่อน +3

      Total kitne chapters hone Wale hai python me ?

    • @ZainAliTheem20
      @ZainAliTheem20 10 หลายเดือนก่อน +1

      I could not understand Set() is muteable or not

    • @ImRich-xo8cm
      @ImRich-xo8cm 10 หลายเดือนก่อน +1

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

    • @cham24.7
      @cham24.7 10 หลายเดือนก่อน

      ​@@ImRich-xo8cm 8 chapter ✅

    • @bhavesh-kumar-444
      @bhavesh-kumar-444 10 หลายเดือนก่อน +1

      4

  • @Siddhartha-s-bhardwaj
    @Siddhartha-s-bhardwaj 10 หลายเดือนก่อน +251

    @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 5 หลายเดือนก่อน +1

      mam please make a video on matrix in python .

    • @SHARIQKHAN-v2e
      @SHARIQKHAN-v2e 7 วันที่ผ่านมา

      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

  • @jakkavaishnavi474
    @jakkavaishnavi474 7 หลายเดือนก่อน +26

    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 😊😊

    • @ParthThakur-i2e
      @ParthThakur-i2e 27 วันที่ผ่านมา

      well explained 👏

    • @AshishBora-r1j
      @AshishBora-r1j 18 วันที่ผ่านมา

      osm bro
      love you ❤❤❤❤

  • @santoshkashid2823
    @santoshkashid2823 22 วันที่ผ่านมา +5

    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 22 วันที่ผ่านมา +1

      Shardha❎ Shraddha ✅🗿🗿

  • @shekharbisht499
    @shekharbisht499 8 หลายเดือนก่อน +39

    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

  • @Anonymous-Guy-01
    @Anonymous-Guy-01 10 หลายเดือนก่อน +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 10 หลายเดือนก่อน +18

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

  • @nazneenmujawar8813
    @nazneenmujawar8813 10 หลายเดือนก่อน +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")

    • @Mlm_gabaru
      @Mlm_gabaru 4 หลายเดือนก่อน +2

      WONDERFUL SESSION

    • @Danishkhan-u1z
      @Danishkhan-u1z 3 หลายเดือนก่อน +1

      WONDERFUL SESSION

    • @Celestialman720
      @Celestialman720 หลายเดือนก่อน +1

      Fr

  • @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!

  • @Moneygrabr
    @Moneygrabr 2 หลายเดือนก่อน +4

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

  • @rounakverma8115
    @rounakverma8115 10 หลายเดือนก่อน +7

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

  • @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 หลายเดือนก่อน

      hi kitne lectures complete hue ?

  • @Arfajsheru
    @Arfajsheru 15 วันที่ผ่านมา +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

  • @ramakrishnaboyapati9930
    @ramakrishnaboyapati9930 3 หลายเดือนก่อน +1

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

  • @ranaawais839
    @ranaawais839 2 หลายเดือนก่อน +1

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

  • @Scriptsupport3756
    @Scriptsupport3756 หลายเดือนก่อน +2

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

  • @user-ZHL75
    @user-ZHL75 10 หลายเดือนก่อน +15

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

  • @jinglemingle-w6m
    @jinglemingle-w6m 20 วันที่ผ่านมา +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.

  • @umaarahmed
    @umaarahmed 8 วันที่ผ่านมา +1

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

  • @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.*

  • @rajaga.raheem6103
    @rajaga.raheem6103 10 หลายเดือนก่อน +3

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

  • @umaarahmed
    @umaarahmed 8 วันที่ผ่านมา +1

    love from Pakistan really such a beautiful way of teaching

  • @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))

  • @science55
    @science55 10 หลายเดือนก่อน +4

    Thanks Dear
    I started this course from lecture First

  • @Orakzai_Jama
    @Orakzai_Jama 2 หลายเดือนก่อน +1

    Best teacher ever i seen on TH-cam ❤

  • @suman1757
    @suman1757 หลายเดือนก่อน +1

    You are best teacher you make coding easier 😊

  • @wifiinfotech
    @wifiinfotech 6 หลายเดือนก่อน +2

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

  • @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.

  • @tausifeditor2.0
    @tausifeditor2.0 2 หลายเดือนก่อน +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))

  • @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

  • @LokeshKumar-it7nu
    @LokeshKumar-it7nu 4 หลายเดือนก่อน +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?

  • @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)

  • @shreyatiwari7070
    @shreyatiwari7070 10 หลายเดือนก่อน +2

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

  • @rohit7590
    @rohit7590 5 หลายเดือนก่อน +1

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

  • @aniketkeshari4114
    @aniketkeshari4114 7 หลายเดือนก่อน

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

  • @aniketkeshari4114
    @aniketkeshari4114 7 หลายเดือนก่อน

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

  • @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

  • @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)

  • @learnwithnagma
    @learnwithnagma 10 หลายเดือนก่อน +3

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

  • @BUNNY-yh2wg
    @BUNNY-yh2wg 10 หลายเดือนก่อน +7

    I kindly request
    PLEASE UPLOAD THE VIDEOS DAILY💛

  • @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

    • @HafsaArmeen-o8o
      @HafsaArmeen-o8o 6 หลายเดือนก่อน +2

      ARE you from pakistan

  • @hyperionedits17
    @hyperionedits17 6 หลายเดือนก่อน +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 17 วันที่ผ่านมา

      yes and u can also use eval instead of int

  • @mananali6331
    @mananali6331 2 หลายเดือนก่อน +1

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

  • @manojvv2991
    @manojvv2991 หลายเดือนก่อน

    Explanation is very good❤

  • @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..........................

  • @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)

  • @zeeshansharif0227
    @zeeshansharif0227 10 หลายเดือนก่อน +1

    Respect and Love From Pakistan.

  • @MovieOk-p8q
    @MovieOk-p8q 10 หลายเดือนก่อน +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.❤❤🎉😊🎉😊🎉😊

  • @MakhanNikum-r7z
    @MakhanNikum-r7z 10 หลายเดือนก่อน +1

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

  • @imranhaiderish
    @imranhaiderish 8 หลายเดือนก่อน +2

    Too easy way to teach thanks a lot. :)

  • @MovieOk-p8q
    @MovieOk-p8q 10 หลายเดือนก่อน +1

    Mam ise badh please python dsa ki video.❤❤❤🎉🎉
    TH-cam 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.❤❤❤❤🎉🎉🎉🎉

  • @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.

  • @tausifeditor2.0
    @tausifeditor2.0 2 หลายเดือนก่อน +1

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

  • @melisafernandes457
    @melisafernandes457 5 หลายเดือนก่อน +1

    Really useful videos❤Thank you so much❤

  • @DhritiYadav-iy4cv
    @DhritiYadav-iy4cv 2 หลายเดือนก่อน +2

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

  • @mahendra8424
    @mahendra8424 2 หลายเดือนก่อน

    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)

  • @PushpitJain-u1g
    @PushpitJain-u1g 3 หลายเดือนก่อน

    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)

  • @sayanbarai9425
    @sayanbarai9425 28 วันที่ผ่านมา

    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

  • @GalaxyCookies76
    @GalaxyCookies76 6 หลายเดือนก่อน

    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'}

  • @HuzaifaShaikh-gf4lt
    @HuzaifaShaikh-gf4lt 4 หลายเดือนก่อน

    very good tutorial for students thank you sister❤❤

  • @MySukhada
    @MySukhada 4 หลายเดือนก่อน

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

  • @a4gamer335
    @a4gamer335 5 หลายเดือนก่อน

    sub1 = input("subject 1 : " )
    marks1= float(input("marks of sub1 : "))
    sub2 = input("subject 2 : ")
    marks2 = float(input("marks of sub 2 : "))
    sub3 = input("subject 3 : ")
    marks3 = float(input("marks of sub 3 : "))
    dict ={}
    dict.update({sub1 : marks1 })
    dict.update({sub2 : marks2})
    dict.update({sub3 : marks3})
    print(dict)

  • @prashantkrsingh-qg7in
    @prashantkrsingh-qg7in 2 หลายเดือนก่อน +1

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

  • @Sabkacollege-zb3fk
    @Sabkacollege-zb3fk 10 หลายเดือนก่อน +1

    Thank you didi for 4 lecture -first comment

  • @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 .

  • @pradeepahirwar3663
    @pradeepahirwar3663 10 หลายเดือนก่อน +1

    Nice Session Ma'am... Very Useful.

  • @Sobuj527
    @Sobuj527 10 หลายเดือนก่อน +1

    Thanks for your helpful lectures 😊

  • @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

  • @P_R_lovebird
    @P_R_lovebird 10 หลายเดือนก่อน

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

  • @KuldeepSingh-nq1vi
    @KuldeepSingh-nq1vi 10 หลายเดือนก่อน +1

    Incredible knowledge base, keep it up

  • @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?

  • @a89481
    @a89481 3 หลายเดือนก่อน

    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?

  • @akhilbhai7276
    @akhilbhai7276 3 หลายเดือนก่อน +1

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

  • @Vidyashree47
    @Vidyashree47 2 หลายเดือนก่อน

    Ma'am for the last question I did this:
    dict={(9,9.0)}
    print(dict)
    And I actually got the answer as {(9,9.0)}
    So like is it fine

  • @abhaygupta9822
    @abhaygupta9822 3 หลายเดือนก่อน

    Print(”Wonderful Session”)

  • @Junaid-muhammad-khan
    @Junaid-muhammad-khan 5 หลายเดือนก่อน

    marks = {}
    marks.update({str(input("Enter subject : ")) : int(input("Enter marks of subject : "))})
    marks.update({str(input("Enter subject : ")) : int(input("Enter marks of subject : "))})
    marks.update({str(input("Enter subject : ")) : int(input("Enter marks of subject : "))})
    print(marks)
    i updated the following q 3

  • @P_R_lovebird
    @P_R_lovebird 10 หลายเดือนก่อน

    🌼 Mata saraswati ap pe virajman h didi 🙏

  • @Ahasun-e9e
    @Ahasun-e9e 21 วันที่ผ่านมา

    x = input("table: ")
    x1 = input("table: ")
    y = input("cat: ")
    list = [x, x1]
    dict = {
    "table": list,
    "cat": y
    }
    print(dict)

    • @Ahasun-e9e
      @Ahasun-e9e 21 วันที่ผ่านมา

      dict = {
      "class" : { "python", "java", "c++" , "python", "javascript", "java", "python", "java", "c++", "c"}
      }
      print(len(dict["class"]))

    • @Ahasun-e9e
      @Ahasun-e9e 21 วันที่ผ่านมา

      x = input("1st sub name: ")
      a = float(input("1st sub marks: "))
      y = input("2nd sub name: ")
      b = float(input("2nd sub marks: "))
      z = input("3rd sub name: ")
      c = float(input("3rd sub marks: "))
      dict = {}
      dict[x] = a
      dict[y] = b
      dict[z] = c
      print(dict)

    • @Ahasun-e9e
      @Ahasun-e9e 21 วันที่ผ่านมา

      x = str(9.0)
      set = {x, 9}
      print(set)

  • @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

  • @Khushijaiswal074
    @Khushijaiswal074 2 หลายเดือนก่อน

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

  • @SIMPLEBOY01825
    @SIMPLEBOY01825 9 หลายเดือนก่อน +1

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

  • @yuvrajsinhsolanki0013
    @yuvrajsinhsolanki0013 หลายเดือนก่อน +2

    Thank you 🥰

  • @sahilpatel-qh6rg
    @sahilpatel-qh6rg 10 หลายเดือนก่อน +1

    42:50 : practice set

  • @MICHAELSTUDYCENTRE432
    @MICHAELSTUDYCENTRE432 10 หลายเดือนก่อน

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

  • @HassanAli-mm5eq
    @HassanAli-mm5eq 5 หลายเดือนก่อน +1

    wow very nice session thank you🤩

  • @Keshuke-97
    @Keshuke-97 5 หลายเดือนก่อน +1

    Thank you for this lecture

  • @0KanXa
    @0KanXa 4 หลายเดือนก่อน

    Mam last question me ham dict ke jagah values1= 9
    And values2=9.0
    Aur sum = (values1,values2)
    Print (sum) to (9 , 9.0) aajaega mam to ham direct ye nhi kar sakte if I have any mistake in this then reply me bcz I'm beginner in python 🙂

  • @StutiSharma-g7f
    @StutiSharma-g7f 5 หลายเดือนก่อน

    mam for practice ques 1,can the ans be...table = {"a piece of furniture" : "list of facts n figures"} print(table),cat = {"a small animal"},print(cat)

  • @teclues3893
    @teclues3893 5 หลายเดือนก่อน +1

    mam can u pls tell me how to access vs code...my terminal doesnt work at all and my output is "nothing" pls help me mam....pls

  • @kartikjangir2116
    @kartikjangir2116 3 หลายเดือนก่อน +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))

  • @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 2 หลายเดือนก่อน

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

  • @Saurav_Kumar_009
    @Saurav_Kumar_009 8 หลายเดือนก่อน

    Thanks You Dii For this lecture ❤️

  • @tausifeditor2.0
    @tausifeditor2.0 2 หลายเดือนก่อน +1

    num1 = 9
    num2 = 9.0
    val = {
    ("int", num1),
    ("Float", num2)
    }
    print(val)
    print(type(val))

  • @PriyankaKumari-ni7qf
    @PriyankaKumari-ni7qf 4 หลายเดือนก่อน

    Fir the 3rd question can we use below code:
    Marks = {}
    Subject_1 = int(input(“Enter marks of English :”))
    Subject_2 = int(input(“Enter marks of Math:”))
    Subject_3 = int(“input (“Enter marks of Hindi:” ))
    Marks[“English”] = “subject_1”
    Marks[“Hindi”] = “subject_2”
    Marks [“math”] = “ subject_3”
    Print(marks)

    • @tshitijpradhan
      @tshitijpradhan 3 หลายเดือนก่อน

      Your method is correct. I've attached the corrected code below; please check it out:
      Marks = {}
      subject_1 = int(input("Enter marks of English: "))
      subject_2 = int(input("Enter marks of Math: "))
      subject_3 = int(input("Enter marks of Hindi: "))
      Marks["English"] = subject_1
      Marks["Math"] = subject_2
      Marks["Hindi"] = subject_3
      print(Marks)

  • @dailyuploads3959
    @dailyuploads3959 4 หลายเดือนก่อน

    progam to count the the nos of classes needed for each subject
    ---------------
    listOfSubjects = {"python","python","python", "java", "C++"}
    noOfClassRooms = len(listOfSubjects)
    print(noOfClassRooms)

  • @spryznplayz1917
    @spryznplayz1917 4 หลายเดือนก่อน

    Solved every question by myself 🤓

  • @MDSadman-u2k
    @MDSadman-u2k 7 หลายเดือนก่อน

    Value = {(9,9.0)}
    print(Value)

  • @HafsaArmeen-o8o
    @HafsaArmeen-o8o 6 หลายเดือนก่อน +1

    I am from pakistan . I must appriciate your way of teaching

  • @seekhoaursikhao4046
    @seekhoaursikhao4046 8 หลายเดือนก่อน

    Hi Shradha, Thank you for the series, its really helpful, the words spelled from your voice, is effective to place in our mind, but yes we have to do lots of practice. 2ndly Can you create a vision or direction towards IT-Admin switching to DevOps platform , for them how you will take the python as a scripting language, as a DevOps Admin, not like a developer/coder. Please create a video series on this.case studies or scenario based tutorials please, so the we can clear the basic concepts which is used in day to day life in companies (playing With AWS,Docker,K8 and a lot, for Automation). Waiting for it.