tutorial

Python Numbers

A numeric value is a value in the form of a number. Basically there are three types of numbers in python – int float complex   A variable of numeric type is created as soon as you assign a numeric value to it. For eg x = 1 int ‘int’ stands for integer values. Int is

Python Numbers Read More »

PHP Comments

A comment in php is a line or a couple of lines which is not executed by the php interpreter. PHP supports both single line comments and multi line comments. Comments are pretty useful when writing code in PHP. Comments in PHP can be used to – Let other people understand your code, or to

PHP Comments Read More »

JavaScript Comments

Javascript comments can be used to make the code more readable and more explained. Javascript offers single line comment as well as multi line comments. Comments in Javascript are ignored by the JavaScript Engine and are not executed at all. Single line comment – If we write any line starting with two forward slashes (//)

JavaScript Comments Read More »

Python Data Types

Data type refers to the type of data that a variable is storing. For example – if a = 1, The data type of the variable ‘a’ is int(Since it is storing an integer value). In python, we do not need to specify the data type of a variable at the time of variable declaration

Python Data Types Read More »

JavaScript Syntax

Syntax of Javascript means the set of rules that needs to be followed while writing javascript code. As you learn JavaScript you would be  using terms like script, variables,functions, comments etc. In this section, i will give you a brief intro about these. Javascript code can be implimented anywhere inside a web page. However it

JavaScript Syntax Read More »

C++ comments

Comments in C++ are the explanatory statements that helps a reader to understand the code. We can write single line as well as multi line comments in C++. Anything that is included inside a comment is ignored by the compiler. Single line comment : A single line comment can be created by start writing text

C++ comments Read More »

Python Variables

A variable is like a container which is used to store a value. At times there is a need to store some data for future usage. A variable in python needs not to be declared before usage, it is created the moment you assign it a value. For example- a = 10 b = 'cat' The

Python Variables Read More »

Python Comments

Comments plays an important role in programming. In programming, a comment is simply a text to describe the working of a single instruction or a set of instructions. Though the comment is written within a program, its not actually a part of it. This means the comment would not be executed along the instructions written in the

Python Comments Read More »

Python basic Syntax

Python has many similarities to other programming languages  such as C, Java and Perl. However it has some differences as well. The Python basic syntax tells the rules must followed while writing code in Python. For example, In Python, we use indentation to create blocks like conditional statements or loops. Execution – Python code can

Python basic Syntax Read More »