PYTHON OPERATORS
CLASS 9 & 10 · COMPUTER SCIENCE
prostudypk.com · free MCQ tests
REMEMBER// % **
- //: floor division (whole part)
- %: remainder (is n even? n % 2 == 0)
- **: power · ==, >, <: comparisons
Free test → prostudypk.com
CLASS 9 & 10 · COMPUTER SCIENCE7 // 2 is 3, not 3.5. Why?
Python operators in 25 seconds
Watch ↓