For loops in Python

For loops in Python

This tutorial explains how to use for loops in Python.  For loops can be used to repeat a set of instructions a specific number of times.  However, a for loop is much more useful when …

While loops in Python

While loops in Python

This tutorial explains how to use while loops in Python to repeat sections of code. You can also watch the video on YouTube here.

Do while loops in C#

A do while loop is a type of loop which repeats code while a certain condition evaluates to true. However, unlike a while loop which tests the condition first, a …

For loops in C#

In this tutorial you will learn how to use the for loop to repeat sections of code in the C# language. For loops are useful for when you want to …

While loops in C#

This tutorial explains how to write a while loop in the C# language. A while loop is used to repeat a section of code while a condition evaluates to true. …

For loops in C#

For loops are used to repeat code a certain number of times. For example, a for loop could be used to repeat an instruction 10 times. For loops are much …

Foreach loops in PHP

This tutorial explains how to use the foreach loop to loop through each item (element) in an array. The foreach loop can only be used on arrays and objects in …

While loops in PHP

In this tutorial you will learn how to use a while loop in PHP. A while loop‘s syntax is slightly different to a for loop. A while loop will test …

For loops in PHP

This video tutorial explains how to use for loops to repeat code using a counter. For loops have many uses such as processing arrays and strings but in this tutorial …