It looks like you're new here. If you want to get involved, click one of these buttons!
I have recently started learning coding. After i've watched the Brackeys' 4th tutorial i tried to complete the challenge and did it easily, so i thought to take it one step further. So i made a program in which 3 dice generate same number and for that i used logical operators.
But when i used && (AND) operator in the while loop it didn't work as i expected, it worked when i used || (OR) operator in the while loop.
Can anyone please help me understand what is the logic behind it and why it didn't work with && operator because that the logic i thought of.
Thank You.