Operator precedence in Python -PEMDAS

后端 未结 2 1565
深忆病人
深忆病人 2020-12-22 12:44

I read about python following PEMDAS that is precedence of multiply is more than division.

I ran the following script

print 6*2/1*2

2条回答
提交回复
热议问题