Ques 1 If Else
What is the output of the following Python Code?
li=[11,12,13] if li[0]^li[0]: print("True") else: print("False")
Ques 2 If Else
What is the output of the following Python Code?
li=[11,12,13] if print(li[0]^li[0]): print("True") else: print("False")
Ques 3 If Else
What is the output of the following Python Code?
p=1 if p==1: p*=2 if p==((p**2)/(p*p)): print(p) else: print(p+1)
Ques 4 If Else
What is the output of the following Python Code?
p=1 q=2 if(p!=q) or (print("Hello",endl=" ")): print("scoder") else: print("hello")