At the material then, we've studied the list data structure in python program that is capable of storing a wide range of values that has a variety of data types. List is usually used to store a variety of data collection. But it turns out, the list has its drawbacks. Lack of List: the list can not use keywords to access an item or the value. Can only be used by calling the index number only. But do not worry ya ... Weakness on the list now can be completed by the Dictionary. On this matter, we will learn the basic things that should be known about Dictionary in python program. The following important things: What is a Dictionary in Python Programming? Dictionary is a data structure that looks like a dictionary. There is a key word then there the value well. Keyword must be unique (not the same as the others), while the value may be filled with just about anything. Example Code: me = { " na...
Website Pembelajaran Pemrograman dan Info Game Terupdate