Arithmetic Operators Python includes the +, -, *, /, % (modulus), and ** (exponentiation) operators Assume variable a holds 10 and variable b holds … [Read more...] about Python Operators
Basics
Our Python Basics articles cover everything for the beginning programmer. If you are just starting to learn python, this is a great place to start. We cover setting up your environment to every facet of python functionality. You will find plenty to learn from in this section.
Python Setup
Python is free and open source, available for all operating systems from python.org. If not already installed, this article will help you with your … [Read more...] about Python Setup
Using the Platform module in Python
What is it used for? The platform module in Python is used to access the underlying platform’s data, such as, hardware, operating system, and … [Read more...] about Using the Platform module in Python
Loops in Python
All programming languages need ways of doing similar things many times, this is called iteration. For Loops For loops allows us to iterate over … [Read more...] about Loops in Python
Python Docstrings
What is a Docstring? Python documentation strings (or docstrings) provide a convenient way of associating documentation with Python modules, … [Read more...] about Python Docstrings
Download and Install Python
Overview Python is a interpreted language which means that the code is translated (interpreted) to binary code while the program runs. That is … [Read more...] about Download and Install Python
Lists
What is a List? The simplest data structure in Python and is used to store a list of values. Lists are collections of items (strings, integers, or … [Read more...] about Lists
Functions
What is a function in Python? A function is something you can call (possibly with some parameters, the things you put in the parentheses), which … [Read more...] about Functions
What is a Dictionary in Python?
Dictionary is another data type in Python. Dictionaries are collections of items that have a "key" and a "value". Python dictionaries are also known … [Read more...] about What is a Dictionary in Python?
What Are Strings In Python?
What is a string? A string is a list of characters in order. A character is anything you can type on the keyboard in one keystroke, like a letter, a … [Read more...] about What Are Strings In Python?