Skip to main content

Posts

Showing posts with the label PYTHON English Version

What are the functions and procedures in Python

To manufacture the python program is very complex and has a variety of features, we are required to have mastered and use the functions available in the python program. If we do not use the function so what? It will feel later if coding program and we will have a lot of hassle to write the code, because too many code that must be written so that the code would be difficult to read and maintenance. Advantages Using Functions In Python Program With the functions on the python program, we can break down the already large program coding into sub-programs simpler.  And each feature on the program may be made in one function.  when we need a feature, we just call the function only.  Later we will try the example programs that I have provided below. But before that, .... We should already understand and know the basic theory and what things we need to know about the function in Python. How to Make Functions in Python Program Functions in Python...

What It's Dictionary In Python Programming

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...