Computer Science
Which among the following list of operators has the highest precedence?
+, -, **, %, /, <<, >>, |
- <<, >>
- **
- I
- %
Python Funda
3 Likes
Answer
**
Reason — ** has highest precedence.
Answered By
2 Likes
Related Questions
What is the value of x?
x = int(13.25 + 4/2)- 17
- 14
- 15
- 23
The expression 8/4/2 will evaluate equivalent to which of the following expressions:
- 8/(4/2)
- (8/4)/2
Which of the following expressions results in an error?
- float('12')
- int('12')
- float('12.5')
- int('12.5')
Which of the following statement prints the shown output below?
hello\example\test.txt- print("hello\example\test.txt")
- print("hello\\example\\test.txt")
- print("hello\"example\"test.txt")
- print("hello"\example"\test.txt")