Q&A Discussões
? : are called Ternary Operators.
ex.
var = booleanExp ? ValueIfTrue : ValueIfFalse;
and that ? literally means "Asking a Question" Asking if the Boolean Expression is True.
If the Boolean Expression returned true, the Value for "True" will be assigned to the variable.
If the Boolean Expression returned false, the Value for "False" will be the one that'll be assigned to the variable instead.
I'm not asking a question, I just wanna share this to you guys 😁
18 Votos
6 RespostasQuente hoje
Python
2 Votes
Are websites hackable?
2 Votes
TICTACTOE
1 Votes
Learn python
2 Votes
Error
0 Votes
BIG DOUBT🤔🤔🤔🤔
2 Votes
Need help (French)
1 Votes
Help for study
0 Votes
Spying on me
1 Votes