WHY WE USE ** AND WHEN IN IPYTHON3?
Title
Question
WHY WE USE DOUBLE MULTIPLY SIGN ** AND WHEN IN IPYTHON3
Python-3.4.3 Other-Types-Of-Plots 05-06 min 50-60 sec
Answers:
** is used in python to find power of the numbers. For ex. 2**3 will be considered as 2 to the power 3 and the result will be 8.
In the function, we use the double asterisk ** before the parameter name to denote this type of argument. The arguments are passed as a dictionary and these arguments make a dictionary inside function with name same as the parameter excluding double asterisk **.
Answer solved by DEVAKI.C IRTT Erode.
Login to add comment