+ 1

It's ok?

num = 8 if num > 4 puts "4" if num == 8 puts "8" end end. Result 4. what? Почему 4 а не 8 или не 48?

17th Dec 2019, 5:34 AM
Игорь
Игорь - avatar
2 Antworten
0
Why 4?
17th Dec 2019, 2:32 PM
Игорь
Игорь - avatar
0
Please write out the code using proper syntax or link it in the code playground so it is readable and we can see what it does.
18th Dec 2019, 7:22 PM
Njeri
Njeri - avatar