1.
What is the order of precedence in python?<br/><br/>i) Parentheses<br/>ii) Exponential<br/>iii) Multiplication<br/>iv) Division<br/>v) Addition<br/>vi) Subtraction

I,ii,iii,iv,v,vi

Ii,i,iii,iv,v,vi

Ii,i,iv,iii,v,vi

I,ii,iii,iv,vi,v

8.
In python we do not specify types,it is directly interpreted by the compiler, so consider the following operation to be performed.<br/><br/>>>>x = 13 ? 2<br/><br/>objective is to make sure x has a integer value, select all that apply (python 3.xx)<br/>

X = 13 // 2

X = int(13 / 2)

X = 13 % 2

All of the mentioned

0Shares
0
Scroll to Top