Python Quizs Question and Answers Precedence and Associativity – 2

Q 1. What will be the output of the following Python expression? print(4.00/(2.0+2.0)) A. ErrorB. 1.0C. 1.00D. 1 Show Answer Answer:-B. 1.0 Q 2. What will be the value of X in the following Python expression? X = 2+9*((3*12)-8)/10 A. 30.0B. 30.8C. 28.4D. 27.2 Show Answer Answer:-D. 27.2 Explanation Explanation:- The expression shown above is … Continue reading Python Quizs Question and Answers Precedence and Associativity – 2