Dyskusje Q&A
Why does this happen
7 głosów
3 odpowiedziChallenge::Expression Validity
16 głosów
15 odpowiedziStill Dont Get It
9 głosów
5 odpowiedzi? : 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 głosów
6 odpowiedziPopularne dzisiaj
Time up code for data revision
0 Votes
Best Python Calculator Code
1 Votes
New code
1 Votes
Need help
1 Votes
Clean Code
3 Votes
Hello Everyone
0 Votes