Dictonaries Flashcards
1
Q
How to check value of something in Dictonaries?
A
assign “.values()” to something.
Ex: vals = eng2sp.values()
where eng2sp is the dictionary in which we are finding the value.
How to check value of something in Dictonaries?
assign “.values()” to something.
Ex: vals = eng2sp.values()
where eng2sp is the dictionary in which we are finding the value.