1. Q7: What is the output of the following code?🔗 x = 0 if x = 0: # look closely! print("0 is true") else: print("0 is false") content_copy check 0 is true🔗 0 is false🔗 There is no output because a compiler error occurs🔗 There is no output because an exception occurs🔗 🔗
2. Q8: What is the output of the following code?🔗 if False: print("it is true") else: print("it is false") content_copy check it is true🔗 it is false🔗 There is no output because a compiler error occurs🔗 There is no output because an exception occurs🔗 🔗
3. Q9: What is the output of the following code?🔗 if 12 < 12: print("Never") else: print("Always") content_copy check Never🔗 Always🔗 There is no output because a compiler error occurs🔗 There is no output because an exception occurs🔗 🔗
4. Q10: What is the output of the following code?🔗 var1 = 15.0 var2 = 25.12 if 2 * var1 >= var2: print("O.K.") else: print("Not O.K.") content_copy check O.K.🔗 Not O.K.🔗 There is no output because a compiler error occurs🔗 There is no output because an exception occurs🔗 🔗
5. Q11: What is the output of the following code?🔗 a = 10 b = 5 c = 3 if b < c: print(c) elif b < a: print(a) else: print(b) content_copy check 🔗 🔗