What is the purpose of ** operator?
** Exponent − Performs exponential (power) calculation on operators. a**b = 10 to the power 20 if a = 10 and b = 20.
// Floor Division − The division of operands where the result is
the quotient in which the digits after the decimal point are removed.
is − Evaluates to true if the variables on either side of the
operator point to the same object and false otherwise. x is y, here is
results in 1 if id(x) equals id(y).
not in − Evaluates to true if it does not finds a variable in the
specified sequence and false otherwise. x not in y, here not in results
in a 1 if x is not a member of sequence y.
break statement − Terminates the loop statement and transfers execution to the statement immediately following the loop.
No comments:
Post a Comment