Anyone explain this code and output. See image. (Ruby) | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
22nd Nov 2017, 4:41 PM
Uttam
Uttam - avatar
1 Réponse
+ 2
TrueTrueTrue is the correct answer. All values are truthy in Ruby other than false and nil. The question itself seems to be incorrect and should be reported as such so it can be fixed.
22nd Nov 2017, 7:32 PM
ChaoticDawg
ChaoticDawg - avatar