0
Case block always executing else statement
I am trying to solve this code challenge by solo learn, given an input map it to matching criteria but for some reason the console input isnt being processed by my function. link to my code: https://code.sololearn.com/c8B7NX2wGuPp
9 ответов
+ 1
You have to use:
input = gets.to_i
To get a integer
+ 1
Case 1 must be: 0...5
+ 1
Output Format:
'I got this!'
'Help me Batman'
'Good Luck out there!'
0
Does the job but fails 3 other test cases, for which I don't know the values 😎
0
https://www.sololearn.com/coach/41?ref=app
Heres the problem link
0
Thank you almost forgot about it, there are still 2 cases failing. I'll check my conditions again!
0
Check the spelling of the output
0
Perfect!
0
👍