Python Variable Types

Python Strings Strings are set of contiguous characters represented starting and ending with a quotation mark. single_quotation_mark = 'word' double_quotation_mark = "word" triple_quotation_mark = """ Wohoooooooo!!! Python is a very awesome and fun language.""" Python allows...

While Loop Python

The while loop is very similar to an if statement. If condition executes the code inside of it if and only if the condition is true whereas while executes the code...

Python Fundamentals

Joins Joins are used to join a list with a particular character or a sequence of character letters = print " ".join(letters) # Prints a b c d print "+++".join(letters) #Prints a+++b+++c+++d TRY IT OUT Try...

Writing Your First Python Program

Well, you have gone through a lot of theory to get you started with your first program. So let’s get your hands dirty. Go to the command prompt if you are on...

Let’s make a Calculator

Great! Now let's do some math and get our hands dirty. In python, Maths operations are very simple to perform. You can add, subtract, multiply, divide and even do exponentiation. TRY IT...

Most Popular

C# Case Control Structure

While writing code for software it the common task to check some conditions and take actions according to that conditions. In C# we can...

Let’s make a Calculator

Java Enumerations

Java