+ 1

print( False or True)

Why the output of above expression comes True?

9th Jul 2020, 7:18 AM
Sarfira
Sarfira - avatar
12 odpowiedzi
0
Sorry ! I forgot about that.. Thank you for reminding me.
9th Jul 2020, 7:24 AM
Sarfira
Sarfira - avatar
0
It means in absence of any condition here True & False are two argument in which if either one (or both) arguments is/are true then output comes true?
9th Jul 2020, 7:29 AM
Sarfira
Sarfira - avatar
0
If you don't mind Can i ask you one more question i just want to confirm my answer.
9th Jul 2020, 8:00 AM
Sarfira
Sarfira - avatar
0
i=3 while i >=0: print(i) i= i - 1 How many times this code will execute. I know the output with my own explaination but i want to confirm if i am wrong or right? Can you explain?
9th Jul 2020, 8:05 AM
Sarfira
Sarfira - avatar
0
Thanks man ! I was right. God bless you.
9th Jul 2020, 8:16 AM
Sarfira
Sarfira - avatar
0
Ans False or true
10th Jul 2020, 6:03 AM
Harshit Singh
Harshit Singh - avatar
- 2
Awanish Maurya It appears you are copy pasting other people's answer. Please be warned such action is consired plagiarism and spam. Asking you to refrain from this. Regards, ~LordK
10th Jul 2020, 2:58 AM
Divyansh Srivastava
Divyansh Srivastava - avatar