0

Help with // **

I dont understand what // or ** mean or how the answer like that pls help

5th Oct 2021, 11:26 AM
JokerISHere
2 Antworten
+ 1
Please add the language in which you are asking about.. answer may vary in languages... add some code snippets where do you find these , may better help that... edit: in python, // is floor or integer division operator. ** is exponentation operator. in c++ : // is a single line comment command.. ** is invalid.
5th Oct 2021, 11:45 AM
Jayakrishna 🇮🇳
+ 1
I guess you are talking about Python right So // is called floor division Examples 1. 7//3 = 2 while 7/3 = 2.33 8//2 = 4 while 8/2 = 4 ** is called exponention operator Examples 2**3 = 8 while 2*3 = 6 3**2 = 9 while 3**2.0 = 9.0
5th Oct 2021, 12:32 PM
Mohd Aadil
Mohd Aadil - avatar