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

Поделиться
HTML-код
  • Опубликовано: 30 сен 2024
  • This lecture was made with a lot of love❤️
    Notes : drive.google.c...
    ✨ Instagram : / shradhakhapra
    ✨ LinkedIn : / shradha-khapra

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

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

    Attendance ✅

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

      Total kitne chapters hone Wale hai python me ?

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

      I could not understand Set() is muteable or not

    • @ImRich-xo8cm
      @ImRich-xo8cm 8 месяцев назад

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

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

      ​@@ImRich-xo8cm 8 chapter ✅

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

      4

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

    @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 7 месяцев назад +10

      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 6 месяцев назад +3

      yes mam

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

      mam please make a video on matrix in python .

  • @dimplechauhan9118
    @dimplechauhan9118 19 дней назад +3

    why there is low like on this lecture.

  • @ayushyadavone
    @ayushyadavone 8 месяцев назад +70

    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 5 месяцев назад

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

  • @DhritiYadav-iy4cv
    @DhritiYadav-iy4cv 9 дней назад +2

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

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

    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 2 месяца назад +5

      Bro gonna beat Elon Musk🗿🗿

  • @ZeeshanHaider-kp3pb
    @ZeeshanHaider-kp3pb 4 месяца назад +9

    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

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

    First comment like karo

  • @uchihaclan710
    @uchihaclan710 3 месяца назад +27

    print("WONDERFUL SESSION")

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

    Any one from mars here????

  • @tausifeditor2.0
    @tausifeditor2.0 4 дня назад +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))

  • @jakkavaishnavi474
    @jakkavaishnavi474 4 месяца назад +9

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

  • @tausifeditor2.0
    @tausifeditor2.0 4 дня назад +1

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

  • @premsharma2595
    @premsharma2595 2 месяца назад +28

    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

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

    Attendance in college ❌ attendance in apna college 😎✅

  • @tausifeditor2.0
    @tausifeditor2.0 4 дня назад +1

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

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

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

  • @RahulSingh-ml9hg
    @RahulSingh-ml9hg Месяц назад +2

    27:00

  • @Nikhilsing5690h
    @Nikhilsing5690h 8 месяцев назад +14

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

  • @ketansapkal2118
    @ketansapkal2118 8 дней назад +1

    37:49 mistake made by shradha didi she said sets are immutable.

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

    I kindly request
    PLEASE UPLOAD THE VIDEOS DAILY💛

  • @ADITYASHARMA-ph9pj
    @ADITYASHARMA-ph9pj 5 месяцев назад

    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

  • @SarithaDevi-mp2cs
    @SarithaDevi-mp2cs 4 месяца назад +2

    What is coding

  • @shekharbisht499
    @shekharbisht499 6 месяцев назад +23

    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

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

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

  • @KHURRAMSHAHZAD-ez3qr
    @KHURRAMSHAHZAD-ez3qr Месяц назад +2

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

    • @iamuseless1
      @iamuseless1 6 дней назад

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

  • @govindkaushik7967
    @govindkaushik7967 25 дней назад +3

    # 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))

  • @Shradha0001
    @Shradha0001 8 месяцев назад +6

    Respect Button ✅ here

  • @hyperionedits17
    @hyperionedits17 3 месяца назад +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 2 месяца назад +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 2 месяца назад +1

      @@MridulBisht-t9g thannks bro

  • @saatvikganjai1018
    @saatvikganjai1018 3 месяца назад +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 6 дней назад

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

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

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

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

    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.❤❤🎉😊🎉😊🎉😊

  • @rounakverma8115
    @rounakverma8115 8 месяцев назад +5

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

  • @AkashSharma-mn3bd
    @AkashSharma-mn3bd 16 дней назад +1

    studying in my office

  • @nishaanjum4901
    @nishaanjum4901 5 месяцев назад +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?

  • @teclues3893
    @teclues3893 2 месяца назад +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

  • @nazneenmujawar8813
    @nazneenmujawar8813 8 месяцев назад +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❤❤

  • @mahajanmukundpur9162
    @mahajanmukundpur9162 12 дней назад

    Ye series enough hai for complete python
    Please give answers❤❤❤❤❤ mam

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

    myset={9,(9.0,)} what about this solution for saving 9 as int and float? please reply is it right or wrong.

  • @mansoorbaig6403
    @mansoorbaig6403 5 дней назад

    Hi Shradha - I want to take both the name and the marks as input from user. so I did this can you please tell what wrong am I doing here ?
    It's similar to one practice program from this same video.
    studentdata = {}
    a = str(input("Enter Subject Name :- "))
    b = str(input("Enter Subject Name :- "))
    c = str(input("Enter Subject Name :- "))
    d = eval(input("Enter Marks in" ,a ,":- "))
    e = eval(input("Enter Marks in" ,b ,":- "))
    f = eval(input("Enter Marks in", c ,":- "))
    studentdata.update({a : d})
    studentdata.update({b : e})
    studentdata.update({c : f})
    print(studentdata)

  • @akhilbhai7276
    @akhilbhai7276 29 дней назад +1

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

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

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

  • @CLIFZX_69
    @CLIFZX_69 8 месяцев назад +1

    First

  • @madhurjatalukdar9482
    @madhurjatalukdar9482 11 дней назад

    marks={}
    marks["phy"]=input( "phy mark:")
    marks["chem"]=input("chem mark:")
    marks["math"]=input("math mark:")
    print(marks) ma'am is it correct?

  • @JatinJangid-x5y
    @JatinJangid-x5y 2 месяца назад +6

    #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)

  • @mahendra8424
    @mahendra8424 11 дней назад

    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)

  • @prashantkrsingh-qg7in
    @prashantkrsingh-qg7in 17 часов назад

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

  • @MovieOk-p8q
    @MovieOk-p8q 8 месяцев назад +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.❤❤❤❤🎉🎉🎉🎉

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

    Hi Shradha , when we dont typecast dictionary into list and find its count of keys , it gives value as 1 , why so ??

  • @lifeGoesOn_kimo
    @lifeGoesOn_kimo 4 месяца назад +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

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

    Kindly don't use hindi in a transcript..
    You can use English because we are following from Pakistan

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

    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

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

    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
    Crafted by Merlin AI.

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

    Thanks Dear
    I started this course from lecture First

  • @AbdulRaheemAnsari-ur7vv
    @AbdulRaheemAnsari-ur7vv 8 месяцев назад +1

    Mam React.js ka Course bhi banaye

  • @LokeshKumar-it7nu
    @LokeshKumar-it7nu Месяц назад +1

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

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

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

  • @ranaawais839
    @ranaawais839 5 дней назад

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

  • @GouravTambulkar
    @GouravTambulkar 12 дней назад

    didi can you please on the screen cast mode in vs code for better understanding of short cut keys

  • @silverpinky4316
    @silverpinky4316 8 месяцев назад +1

    😂😂😂😂

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

    Hi good evening sister m Mohammad Aamir Kashmir sy
    Aapsy ek important suggestion and way layna chahta ho plz hlp me
    Mai ADCA. Advance diploma in computer application ka syllabus complete Kiya
    To sister m ab development seekhna chahta ho Android and iOS based application to syllabus kya rahyga plz ek video dejiyaina ki. Phly konsa top psdy like python Java script plz hlp

  • @ERAGONGAMING1
    @ERAGONGAMING1 8 месяцев назад +1

    Second ❤ comment

  • @SantoshJha-jn7oh
    @SantoshJha-jn7oh 6 месяцев назад

    nothing but the name of dictionary is dict(sounded like di**)

  • @pmandy2704
    @pmandy2704 7 дней назад

    from python3.7 dictionaries are ordered ,correct ?

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

    why we use [] brackets in students.[name]
    not () this one

  • @shaikkhureshi7539
    @shaikkhureshi7539 3 месяца назад +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..........................

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

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

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

    Second

    • @Berojgar.gyanii
      @Berojgar.gyanii 8 месяцев назад

      oy yr aap mere friend ban jao like hum dono classes attend krte h to as a classmate friend ban jao taaki doubts vgera ho to discuss krle or creativity bhi enhance ho jayegi is se hamari🤓

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

      Tell me your name

    • @Berojgar.gyanii
      @Berojgar.gyanii 8 месяцев назад

      vishwajeet@@Crafter_yashiii

    • @Berojgar.gyanii
      @Berojgar.gyanii 8 месяцев назад

      @@Crafter_yashiii vishwajeet....or aap kya krti ho abhi

    • @Berojgar.gyanii
      @Berojgar.gyanii 8 месяцев назад

      @@Crafter_yashiii bolo na

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

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

  • @arsalfaisal5190
    @arsalfaisal5190 8 месяцев назад +1

    AP hamy python ma script writing bhe sikhao plz

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

    ❤ from Kashmir

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

    wow very nice session thank you🤩

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

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

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

    Love you from Pakistan

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

    Thank you for this lecture

  • @Taniyachauhan-n3l
    @Taniyachauhan-n3l 7 месяцев назад +1

    mam in first question of first practice set : agar hum table ko pehle or cat ko baad me access kra rhe hai to error kyu show kr rha hai ?

  • @ShreyaChaudhary-jd2zh
    @ShreyaChaudhary-jd2zh 3 месяца назад

    Marks={
    "Maths":print(int(input("Types Maths No"))),
    "Phy":print(int(input("Types Phy No"))),
    "Chem":print(int(input("Types Chem No"))),
    }
    print(Marks)
    Why this code is showing result-
    Types Maths No50
    50
    Types Phy No60
    60
    Types Chem No70
    70
    {'Maths': None, 'Phy': None, 'Chem': None}
    But I was expecting result-
    Types Maths No50
    50
    Types Phy No60
    60
    Types Chem No70
    70
    {'Maths': 50, 'Phy': 60, 'Chem': 70}

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

      Because print() function in Python dictionary returns None.
      Here's the corrected version of your code, please check it out:
      Marks={
      "Maths": int(input("Types Maths No: ")),
      "Phy": int(input("Types Phy No: ")),
      "Chem":int(input("Types Chem No: ")),
      }
      print(Marks)

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

    Too easy way to teach thanks a lot. :)

  • @UzairKhan-l8b
    @UzairKhan-l8b 2 месяца назад

    can you give name of a detailed book for python

  • @antilevelgaming8087
    @antilevelgaming8087 26 дней назад

    Bhai ye bhi batao ki is lecture se dictionary ke saare practical questions ho jayenge

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

    Really useful videos❤Thank you so much❤

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

    Thank you didi for 4 lecture -first comment

  • @a-oneshayar7376
    @a-oneshayar7376 8 месяцев назад

    Kya ye python series advanced level ki hone wali h didi??????

  • @abhaygupta9822
    @abhaygupta9822 19 дней назад

    Print(”Wonderful Session”)

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

    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?

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

    Ma'am Marks wala program asa bana sakte hai 👇👇👇👇
    dictonary={}
    subName=input("Enter the name of subject :")
    subMarks=input("Enter subject marks :")
    dictonary[subName]=subMarks
    subName=input("Enter the name of subject :")
    subMarks=input("Enter subject marks :")
    dictonary[subName]=subMarks
    subName=input("Enter the name of subject :")
    subMarks=input("Enter subject marks :")
    dictonary[subName]=subMarks
    print (dictonary)

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

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

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

    Plss give extra problem questions

  • @muhammadkazim9420
    @muhammadkazim9420 20 дней назад

    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)

  • @OPWHITE-zo8bt
    @OPWHITE-zo8bt 8 месяцев назад

    800 view

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

    Solved every question by myself 🤓

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

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

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

    a = {str(9),str(9.0)}
    print(a)

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

    string =" I am a bloody string check my Upper and Lower case letters"
    def case_counter(string):
    counter_dictionery = {'Upper_case_letter' :0 , 'Lower_case_letter ':0}
    for letter in string:
    if letter.isupper():
    counter_dictionery['Upper_case_letter'] +=1
    elif letter.islower():
    counter_dictionery['Lower_case_letter '] +=1
    else:
    pass

    print(f'The original string is : {string}')
    print(f'Number of upper case letters {counter_dictionery['Upper_case_letter']}')
    print(f'Number of lower case letters {counter_dictionery['Lower_case_letter ']}')
    case_counter(string)
    This code in not working when i use function but it works when i comment out the function definition and call. Why? please check all

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

    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)

  • @Junaid-muhammad-khan
    @Junaid-muhammad-khan 2 месяца назад

    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

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

    Who is going to take admission in bsc cs this year?

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

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

  • @xspidey-01
    @xspidey-01 4 месяца назад

    ma'am decided to destroy whole yt community by her teaching skill in python ..

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

      Hmm
      Very logical comment 🥱

  • @antilevelgaming8087
    @antilevelgaming8087 26 дней назад

    Bhai koi bayta sakta h ki iss platlist se puri python ho jayegi