Обсуждения
Why does this happen
7 голосов
3 ответовChallenge::Expression Validity
16 голосов
15 ответовCode Coach Python Symbols
1 голос
10 ответовStill Dont Get It
9 голосов
5 ответов? : 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 ответовАктуальное сегодня
Marquee
1 Votes
Any Advise?
1 Votes
Popsacles Aufgabe
1 Votes
Button In C++
1 Votes
C#
0 Votes
%
0 Votes