+ 1
If else alternate that is shorter and that can also be made a variable?? I know it but forgot the syntax
It goes like this "Variable=( condition)? True:False " I think and not even sure if it's in python or JavaScript please If you know that I'd appreciate your help
3 Answers