Python_Institute
PCEP-30-02 · Question #358
Arrange the binary numeric operators in the order which reflects their priorities, where the top-most position has the highest priority and the bottom-most position has the lowest priority.
The binary numeric operators arranged by priority from highest to lowest are: ** (exponentiation), // (floor division), + (addition).
Module 2: Data Types, Variables, Basic Input-Output Operations, Basic Operators
Question
Arrange the binary numeric operators in the order which reflects their priorities, where the top-most position has the highest priority and the bottom-most position has the lowest priority.
Explanation
The binary numeric operators arranged by priority from highest to lowest are: ** (exponentiation), // (floor division), + (addition).
Topics
#operator precedence#binary operators#arithmetic priority
Community Discussion
No community discussion yet for this question.