Skip to content
CodeKruPro

Rounding, floats and big integers

QuizMediumPython only

Which statements about Python 3.12 numbers are true? Pick all that apply.

  • round(2.5) is 2
  • 0.1 + 0.2 == 0.3 is True
  • int(-3.99) is -3
  • 2 ** 100 overflows and raises an error

This question is part of Pro+

Pro+ opens every question in Interview Prep and the mock interview. Every article and the first 2 questions of each topic stay free. Hands-on Selenium and API tasks follow their course lesson's own lock.

See Pro+

Already have Pro+? Sign in