How to use if statement in Python

All programming language has if statements that allow controlling the flow of the program.

With this, you can execute your code only when the condition is true or false.

In the tutorial, I show how you can use if statements in your program with an example in Python.

How to use if statement in Python

Read more

Dictionary in Python

Dictionary in Python is similar to an associative array in PHP.  Dictionary are create using curly braces {} inside it the key is separated with items using a colon (:). For accessing items of a dictionary, the key is been for this. Dictionary is mutable.  Contents Creating a Dictionary Accessing Dictionary Update Dictionary Delete Dictionary Dictionary … Read more