@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.
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
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 🥺🙏
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 😊😊
*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.*
# 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))
#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)
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❤❤
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)
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)
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..........................
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
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'}
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.❤❤🎉😊🎉😊🎉😊
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)
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.❤❤❤❤🎉🎉🎉🎉
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)
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
progam to count the the nos of classes needed for each subject --------------- listOfSubjects = {"python","python","python", "java", "C++"} noOfClassRooms = len(listOfSubjects) print(noOfClassRooms)
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.
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 🙂
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)
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)
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
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
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
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)
Attendance ✅
Total kitne chapters hone Wale hai python me ?
I could not understand Set() is muteable or not
@@ZainAliTheem20hello bro total kitne chapters hone Wale hai python me
@@ImRich-xo8cm 8 chapter ✅
4
@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.
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
yes mam
mam please make a video on matrix in python .
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
thanks
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 🥺🙏
you go to hell she is our teacher i am muslim and islam taught to respect your teachers plz
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 😊😊
print("WONDERFUL SESSION")
WONDERFUL SESSION
WONDERFUL SESSION
*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.*
# 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))
well done!
#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)
THE good thing is that we have a good range of exercises at the end of the lecture. Thank you maam!
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❤❤
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)
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
@@MridulBisht-t9g thannks bro
Arey yrr mai idhar udhar ghum raha tha finally playlist mil gai yrr❤❤😂
33.22 what i understand is basically aak is pak ,pak is aak so akkpak
Thank You didi For your Amazing class....
i have become your Fan in only 3 classs....
Love from Bangladesh😍😍😍
This python series is very helpful for me, thanks a lot team apnacollege for providing this wonderful series…..
We love your classes,
Please make video lecture on pygame development 😢
Its our request
Vote for lectures on pygame
👇
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)
you are good because you are not wasting the time and going fast. Exactly this is I am looking for.
a = {str(9),str(9.0)}
print(a)
Attendance in college ❌ attendance in apna college 😎✅
set = {(9,9.0)}
print(type(set))
print(set)
it works properly without writing int and float.
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..........................
I kindly request
PLEASE UPLOAD THE VIDEOS DAILY💛
Set ={}
Set.add =("physics: 67 ,")
Set.add =( "chemistry 65 ,)
Set.add = ("art 65 ,)
Print(set) 48:29
😢😢😢
itni khushi
itni khushi mujay aaj tak nai hui
kia Zabardast padhati hn ma'am
Meri Dua ha k Allah inko Salamat rakhy
ARE you from pakistan
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)
Thanks Dear
I started this course from lecture First
A = dict()
Table:"a peace of furniture ,"list of facts & figures"
Cat :"a small animal "
Print (dict(a))
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
To
Keep it up brother if you want help feel free
Out class no words to explain my feelings from Pakistan ❤❤❤❤lots of love Shraddha
A-o-A mam,
key() function does not print the nested key, but value() function print the values of nested function, why?
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'}
खपड़ा जी आप बहुत अच्छा पढ़ाती है
Thankyou
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.❤❤🎉😊🎉😊🎉😊
THANK YOU SO MUCH SHRADDHA DI.....THIS COURSE IS REALLY VERY HELPFUL.......PLEASE COVER ALL AREAS RELATED TO PYTHON...LOTS OF LOVE....🤗🤗❤❤❤❤
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)
Thank you so much didi for your efforts 🙌👍✨.
Literally enjoyed via studying from you 😊.
Yourr explanation is excellent mam♥️🙏.
Hatts of to ur efforts on making useful videos like this many more
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)
set1 ={"Python", "Java", "Java script","C++", "Python"}
set2 ={"Java", "Python", "Java", "C++","C"}
print(len(set1.intersection(set2)))
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)
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.❤❤❤❤🎉🎉🎉🎉
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)
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
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?
42:50 : practice set
@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.
Too easy way to teach thanks a lot. :)
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)
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?
progam to count the the nos of classes needed for each subject
---------------
listOfSubjects = {"python","python","python", "java", "C++"}
noOfClassRooms = len(listOfSubjects)
print(noOfClassRooms)
53:37
another possible solution without typing float and int
x = set()
x.add(9)
x.add((9.0,))
print(x)
print(type(x))
Wrong
marks={}
marks["phy"]=input( "phy mark:")
marks["chem"]=input("chem mark:")
marks["math"]=input("math mark:")
print(marks) ma'am is it correct?
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.
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 🙂
setck = {(9,9.0)}
print(setck)
output:
{(9, 9.0)}
Respect Button ✅ here
Really useful videos❤Thank you so much❤
Thank you for this lecture
Ek hi din mai 4 parts dekh liya isse pehle mosh ji ki video dekh li 6 hrs ki aur aaj is video just revision kar raha hu😊😅
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)
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)
Ma'am,
Last vale Question(duration-50:10) ko ham *Union* set method ka use karke bhi kar sakte hai .
thank you so much di for zero cost super content ..
Thank you didi for 4 lecture -first comment
wow very nice session thank you🤩
Respect and Love From Pakistan.
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
Salam
Hi Shradha , when we dont typecast dictionary into list and find its count of keys , it gives value as 1 , why so ??
myset={9,(9.0,)} what about this solution for saving 9 as int and float? please reply is it right or wrong.
What is coding
You are doing great job,please make full playlist of django after this
yes
Print(”Wonderful Session”)
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
you are doing it great!!
Dictionary as in Structure in cpp.
Nice Session Ma'am... Very Useful.
i am very inspire and action on mode
Tq mam. Actually I am waiting for this video now day 🙏🙏
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
Thanks for your helpful lectures 😊
very good tutorial for students thank you sister❤❤
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)
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
After this Please make Python Intermediate course also & Python exercises discussion for practice
Solved every question by myself 🤓
Incredible knowledge base, keep it up
Ye series enough hai for complete python
Please give answers❤❤❤❤❤ mam
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 ?
This lecture was made with a lot of love❤
Hi Shradha , i tried using list as key name in dictionary and it worked fine, but as told in lecture video it shouldnot work .
37:49 mistake made by shradha didi she said sets are immutable.
why there is low like on this lecture.
Because isme interested fact hai
Thank You Maam ❤
Now, understood ❤
Mam React.js ka Course bhi banaye
Who is going to take admission in bsc cs this year?
❤ from Kashmir
Mam we need a series like this for back end also
print("present")