What are the arithmetic operators that python supports?



What are the arithmetic operators that python supports?..

Answer / Vivek Chandel

Python supports addition (+), subtraction (-), multiplication (*), division (/), modulus (%), exponentiation (**), floor division (//), and bitwise operators like AND (&), OR (|), XOR (^), left shift (<<), right shift (>>), and inversion (~).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

Will python support object oriented?

1 Answers  


What is the cost of python certification?

1 Answers  


What does the term ‘monkey patching’ refers to in python?

1 Answers  


What is map, filter and reduce in python?

1 Answers  


Can we use break in if statement in python?

1 Answers  


When do you use list vs. tuple vs. dictionary vs. set?

1 Answers  


What is the with statement in python?

1 Answers  


What is a namedtuple?

1 Answers  


What are the optional statements that can be used inside a <try-except> block in python?

1 Answers  


Why python is so popular with developers?

1 Answers  


What is encapsulation in python?

1 Answers  


How can you access a module written in python from c?

1 Answers  


Categories