3. What is the order of precedence in python ?
i) Parentheses
ii) Exponential
iii) Multiplication
iv) Division
v) Addition
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
7. The following is displayed by a print function call. Select all of the function calls that result in this output.
tom
dick
harry
•print('''tom\ndick\nharry''')
• print("'tomdickharry"')
• print('tom\ndick\nharry')
• print('tom dick harry')