Обсуждения
Literally so confused
-1 голос
2 ответов? : 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 голосов
6 ответовАктуальное сегодня
HTML
1 Votes
Functions in python
0 Votes
For Mobile app
0 Votes
I need advice
0 Votes
Answer please
0 Votes
I need advice
0 Votes