Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis0
Factorial in ruby
Def factorial(x) Puts 1.upto(x).inject('*') end factorial(5) Can anyone explain how this is executing ??
1 Resposta
0
Actually I want to understand
Puts 1.upto(x).inject('*)