Do They Know A Tuple/list/dict When They See It

Do They Know A Tuple/list/dict When They See It


  • 20 Dec, 2011

    Dictionaries are consisting of pair of keys and values.like {?key?:'value?}.book={?cprog?:'1024',?c++?:'4512'}Keys are unique but values can be same. The main difference between list and tuple is you can change the list but you cannot change the tuple. Tuple can be used as keys in mapping where list is not.

    Comments Received:
    Please give your suggestions and feedback:

2009-2016 downloadmela.com. All rights reserved.