In this article we look at whether a number is odd or even. There is a fairly simple formula to work this out – If you divide a number by …
maxguy71
-
In this article we show you how to convert a decimal number into binary, octal, and hexadecimal numbers. Here are a brief description of the common systems Decimal System: This …
-
In this article we will show you how to create a program in python to check if a year is a leap year. First of all lets see a definition …
-
The following is a very simple app that is built using PyGame Installing: The command is the following, the preferred method is using pip as per below pip install pygame …
-
openpyxl is a Python library to read and write Excel 2010 xlsx/xlsm/xltx/xltm files. In this article we look at reading data in an excel worksheet using python Installation pip install …
-
Named tuples assign meaning to each position in a tuple and allow for more readable, self-documenting code. They can be used wherever regular tuples are used, and they add the …
-
The Deque is another name for a double-ended queue, in python, we can implement deque by using a collection module. In a deque, we can add or remove the elements …
In this article we will look at how to check if a number is a prime number using python. This is a fairly common basic programming exercise in many languages. …
In this article we look at XlsxWriter is a Python module for writing files in the Excel 2007+ XLSX file format. XlsxWriter can be used to write text, numbers, formulas and …