Post

Prajwal Mohite
Prajwal Mohite@prajwalmohite18·
@PythonPr Answer: (A) Explanation: This is "//" floor division operator, so 10//5 = 2 hence it prints 2 and its of integer datatype. <class 'int'>
English
0
0
0
117
Gopuff
Gopuff@gopuff·
Our delivery comes with a genius. Go learns what you like, builds your cart in seconds, and gets it all to your door in as fast as 15 minutes.
English
1
3
162
1.3M
Jimmy Fikes
Jimmy Fikes@akajim·
@PythonPr Floor division drops decimal values and returns an int, so 2
English
0
0
1
122
Coding Computing Coach
Coding Computing Coach@CodingComputing·
@PythonPr Answer: A Solution: There are 2 division operators in Python, / and //. / is regular division. It gives back a float, even if the operands are ints. // is floor division. It returns what we call "quotient". It gives back an int if the operands are ints. The value is +
English
1
0
2
137
ExamAdda
ExamAdda@examaddaorg·
@PythonPr A) 2 — // is floor division, always returns int. Nice reminder!
English
0
0
2
92
공유