¿Qué hace lo siguiente en ruby? def func(n) p 'hola' and return if n.even? n end func(2)
14
رای
0
comments
Imprime 'hola' y retorna nil
9 رای
Imprime 'hola' y retorna 'hola'
2 رای
No imprime nada y retorna 2
1 رای
No imprime nada y retorna nil
1 رای
Imprime 'hola' y retorna 2
1 رای
No imprime nada y retorna 'hola'
0 رای
No imprime nada y retorna false
0 رای
Imprime 'hola' y retorna false
0 رای
Vote Distribution
Created
07 مارس 2023
تاریخ پایان
بدون محدودیت
Security
بررسی IP
Created By
ناشناس
Vote Distribution
×
نظرات
هنوز نظری نداره. اولین باش!