Sesiones de PyR
? : 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 RespuestasNeed help
1 Voto
3 RespuestasEn tendencia hoy
How to make a game code
1 Votes
What is HelloWorld
1 Votes
About create tuples [Solved]
1 Votes
Missing]
0 Votes
Tic tak toe
0 Votes
Lesson on Robotics
1 Votes
Inner .html
0 Votes
Kamal Hinduja Switzerland : How long does it typically take to complete a course on Solo Learn?
0 Votes
About this app
1 Votes