How to use Python Dictionaries
This tutorial goes through the basics of dictionaries in the Python programming language. We cover topics such as creating, accessing, copying, updating, and deleting dictionaries. Read More
Learn coding online in these easy to follow but in-depth tutorials. Currently, we cover the basics of Python, but we’re working hard to bring you lots more tutorials.
This tutorial goes through the basics of dictionaries in the Python programming language. We cover topics such as creating, accessing, copying, updating, and deleting dictionaries. Read More
This guide will show you how to use PHP's is_numeric() function. This function allows you to check if a string is a number or a numeric string. It helps verify that the data you have received contains a number. Read More
In this tutorial, we will be showing you how to use the for...in loop in JavaScript. This loop allows you to iterate over the properties of an object. However, you should not use this type of loop to iterate over an array. Read More
In this tutorial, you will learn how to use the in_array() function in PHP. Using this function, you can quickly check whether a value exists within an array. It is cleaner to use than writing a for or foreach loop to process the array. Read More
In this tutorial, you will learn to write a do while loop in JavaScript. This type of loop allows you to run code before the loop runs. Depending on its result, you may have a task that may not necessarily need to loop. Read More
This guide will teach you how to get the current page URL in PHP. There is no inbuilt function to get the current URL. Instead, we have to build it from the $_SERVER super global. This super global contains data such as the request URI. Read More
In this tutorial, we will discuss how to use and write a foreach loop in PHP. They are great for iterating through arrays or objects. Highly recommend learning how to use this type of loop. Read More
In this tutorial, we show you how to write a while loop in JavaScript. A while loop continues to run if a specified condition is true. It is one of the simplest loops you will learn how to write in JavaScript. Read More
This tutorial shows you how to read and write a switch statement in PHP. We also go through some of the reasons why you may want to use a switch instead of a series of if-else statements. Read More
This guide will show you how to use the explode function in PHP. By utilizing this function, you can convert a string to an array. It achieves this conversion by splitting a string by the specified separator. Read More
In this tutorial, you will learn how to use the implode function in PHP. This function allows you to combine all values of an array into a string, joined by the defined separator. So effectively, it converts an array to a string. Read More
In this tutorial, you will learn how to write and utilize a for loop in the JavaScript language. These are powerful loops that help you easily iterate through data and are especially useful when dealing with arrays. Read More
This tutorial shows you how to generate an MD5 hash for either a file or string. While useless for security, this hash still has its uses. It can be used as a quick hash to validate that two files are the same. Read More
This tutorial will show you how to use the sleep and usleep functions in PHP. These allow you to pause the execution of the running script. Sleep sleeps the script in seconds, usleep sleeps the script in microseconds. Read More
Within this guide, you will learn how to use if, else, if else conditional statements in JavaScript. These allow you to perform actions when a condition is met and are a critical part of programming with JavaScript. Read More
In this tutorial, I go through the basics of Python lists and how you can use them. We cover creating, accessing, copying, and deleting lists. You must learn lists if you wish to program using Python effectively. Read More
This tutorial will show you how to use the str_replace function in PHP. This function allows you to find and replace text within a string quickly. In addition, it can handle different matches on a string with different text replacements. Read More
In this tutorial, I go through how and when to use require and require_once in PHP. These two statements are useful for including essential scripts and files into your PHP code. Read More
Learn how to use and declare constants within the PHP language. This guide will show you how to use the define() function and the const keyword. This function and keyword affect the way a constant can be declared in PHP. Read More
In this tutorial, we take you through the basics of using and writing a for loop in the PHP programming language. It is a vital code control structure that I recommend you learn. Read More