Python · Numbers: int, float, bool, complex
What does this print, and why? from decimal import Decimal print(Decimal(0.7) == 0.7) print(Decimal("0.7") == 0.7)
Answer locked. Get the free KnowCard app to reveal it — plus spaced-repetition review so it actually sticks.
