** meaning in python code example

Example 1: // meaning in python

##  // Returns the integer value of the quotient 

eg 906 / 100 = 9.06

906 // 100 = 9

Example 2: ** in python

# ** means modulus. or exponent
x = 6
y = 2
print(x**y) # will print 6 raised to power 2

Example 3: * meaning in python

The * in python represents "The rest".
Meaning it will take the remaining arguments that are left over in your 
code and fit inside the variable OR you can use it as your primary 
variable to store as many arguments that you want.
After doing this it it will convert them into a list.

Tags: