Eg. Python{ 'Good' : '0', 'Bad' :'9', 'Lazy' : '7'}
how do i access and print only 'Good' or 'Bad' or 'Lazy'
how do i access and print only 'Good' or 'Bad' or 'Lazy'
a= raw_input (" which is the final attribute:")
for i in python.items():
if python.items()[i] == a:
finalAttribute = python.items()[i]
Comment