Answers for "diccionario setdefault"

0

diccionario setdefault

dict = {'Name': 'Zara', 'Age': 7}

print "Value : %s" %  dict.setdefault('Age', None)
print "Value : %s" %  dict.setdefault('Sex', None)
Posted by: Guest on May-16-2021

Browse Popular Code Answers by Language