python == meaning 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

#** is the exponent symbol in Python, so:
print(2 ** 3)
#output: 8

Example 3: * in python

>>> fruits = ['lemon', 'pear', 'watermelon', 'tomato']
>>> print(fruits[0], fruits[1], fruits[2], fruits[3])
lemon pear watermelon tomato
>>> print(*fruits)
lemon pear watermelon tomato

Example 4: * 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.