Ask your own question, for FREE!
Computer Science 9 Online
OpenStudy (anonymous):

Python has a type for a 'dictionary', which is basically a set of key-value pairs, as well as a common ADT (abstract data type). We give an 'example'. grades = {'jo':55, 'moe':97, 'will':74, 'bill':80)} Here are some messages and their outcomes: grades.keys() ['jo','moe','will','bill'} grades.values() [55,97,74,80] grades.items() [('jo',55),('moe',97),('will',74),('bill',80)] NOTE: the above approximates python syntax, but the output format is intended to be suggesive only. And also: grades.add('phil',17) adds a pair to the dictionary grades.del('moe') remo

OpenStudy (e.mccormick):

Well, do you know what some of the different data types are?

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
2 days ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
3 days ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!