Post

Ankit Aggarwal
Ankit Aggarwal@TechAheadAnkit·
@PythonPr Answer is 2. It is floor division operator round final out to smaller integer. Like 11/5 will be 2.2 but answer will be 2 But if -11//5 it will be -2.2 which will round to smaller integer which will be -3
English
0
0
8
1.9K
Madhav ⚡️
Madhav ⚡️@askmaddyy·
@PythonPr Answer is 2 // does floor division, always returns an integer.
English
0
0
7
858
IrisTech
IrisTech@IrisTechss·
@PythonPr Option A 2 This operator (//) only gives an integer answer.
English
0
0
4
1K
PourDay
PourDay@pourdayconcrete·
Weather apps weren't built for concrete. PourDay calculates your ACI 305R evaporation rate in real time — so you know before the truck leaves the yard. Free for contractors. No subscription.
English
0
0
0
1.5K
kenz
kenz@kenz4Reall·
@PythonPr The answer is 2. Thats an integer division, it returns whole number values.
English
0
0
3
954
Jimmy Fikes
Jimmy Fikes@akajim·
@PythonPr A. Integer division on 2 ints will not return a float. If either 10 or 5 had been a float, the result would be a float.
English
0
0
2
756
Vandana
Vandana@vandanasoc28779·
@PythonPr Answer is 2. uses floor division operator.
English
0
0
1
1.6K
Jeff
Jeff@Jeff72571425107·
@PythonPr the // operator divides 2 number and returns the integer portion if the / operator was used it would have printed 2.0 ans: A 2
English
0
0
1
173
Gregor
Gregor@bygregorr·
@PythonPr What's the answer? Been staring at this for like 3 minutes and I keep second guessing myself on the list comprehension scope.
English
1
0
0
79
Paylaş