output boxoutput
results box
codeavengers.com files
code editor

<ol>) or unordered (<ul>) list.For example: meta charset sets the character encoding for the web page. meta description describes your page to search engines. meta viewport scales a page so that it looks good on mobile devices.
( ) and separated by ;, followed by statements that are run in the loop.
The 1st expression is typically used to create a counter variable (which can be accessed both inside and outside the loop)
Next is the loop condition. If this expression is true the statements inside the loop are run. If the expression is false, execution skips to the statement after the for loop.
base to the power of exponent (i.e. baseexponent)
null if the user clicks cancel
'CodeAvengers'.length is 12
'CodeAvengers'.toLowerCase() is codeavengers
'CodeAvengers'.toUpperCase() is CODEAVENGERS
fromIndex; returns -1 if the value is not found.
a string to search for.
the location within the calling string to start the search from. It can be any integer between 0 and the length of the string. The default value is 0.
E.g. 'CodeAvengers'.indexOf('e', 4) is 6
indexA up to but not including indexB
a number between 0 and the length of the string
a number between 0 and the length of the string; if omitted, substring gets characters from indexA to the end of the string
If indexA equals indexB, substring returns an empty string
If either parameter is less than 0 or is NaN, it is treated as 0.
If either parameter is greater than the string length it is treated as if it were the string length.
If indexA is larger than indexB, the effect is as if the 2 parametrers were swapped
E.g. 'CodeAvengers'.substring(4) is Avengers and 'CodeAvengers'.substring(5, 8) is ven
4 + 8 equals 12
'4' + '8', 4 + '8' and '4' + 8 are equal to '48'
32 - 24 equals 84 * 8 equals 32
16 / 2 equals 8
a == b is true if a and b have the same value.
E.g. age == 15 is true if age is 15
a != b is true if a and b have different values.
E.g. code>age != 0 is true if age is any value except 0
a && b is true if both a and b are true.
a || b is true if either a or b or both are true.
E.g. age == 5 || age == 10 is true if age is 5 or 10
The | key is normally above the Enter key.
True if both parts of it evaluate to True.
float() function converts a string or integer to a floating point number - one with a decimal point.
the value to be converted to a float
It is often used with an input() so that the number that a user types in can be used as a number, i.e. for calculations and comparisons etc.
i) and a range() for how many times it should repeat.
The range may be derived from something else such as the length of a string or list, rather than being stated in numbers.
else clause that is run if the loop gets to the end.
Usually the code inside this loop would be checking for something, and break is used to exit the loop early if the desired thing happens.
The else clause is then used to do what should be done if that thing doesn't happen.
if statement Runs a block of code if a specified condition is true.
The loop statement has 2 important bits: a variable (often i) and a range() for how many times it should repeat.
The range may be derived from something else such as the length of a string or list, rather than being stated in numbers.
in a set of values, a string, a list or a range of numbers.
int() function will convert a string or floating point (decimal point) number to an integer.
the value to convert to an integer
It is often used with an input() so that the number that a user types in can be used as a number, i.e. for calculations and comparisons etc.
True if either part of it evaluates to True.
{} placeholders in a string
the values to be inserted into the placeholders in the string
There should be the same number of values as placeholders (separated by commas), or placeholders should be numbered based on which values should be inserted.
try block is run successfully then the except block is not run, otherwise the except block is run. This can be used inside a loop to repeat the code until it does work, if user input is involved.
True.
The loop condition is checked before each pass through the loop. If the condition is true, the statements inside the loop are run. When the condition is false, the run continues with the statement after the loop.
a != b is True if a and b have different values.
a < b is True if the value of a is less than b.a <= b is True if the value of a is less than b, or a and b have the same value.
a == b is True if a and b have the same value.
a > b is True if the value of a is greater than b.
a >= b is True if the value of a is greater than b, or a and b have the same value.
scaleHeight will be set to the same as scaleWidth.
if the horizontal scale factor is negative, then it will flip the image horizontally.
if the vertical scale factor is negative, then it will flip the image vertically.
This is a test paragraph');
Fern- an app to help you learn to read Spanish.
Mouse Master- A fun game for all ages that helps you develop your skills with a mouse.
Mj Software- Download the FREE cricket scoring application I started creating in high school.