¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita0
Factorial in ruby
Def factorial(x) Puts 1.upto(x).inject('*') end factorial(5) Can anyone explain how this is executing ??
1 Respuesta
0
Actually I want to understand
Puts 1.upto(x).inject('*)