+ 10
[Solved] Why is this Ruby code asking for input in CPG ?
# Update # The simple solution: I used "Gets" instead of "gets". This behaviour was still present at the time of the last post update. # Original post # I have made a Ruby code which should not ask for input but it is asking for input here on CPG. in ruby it does not ask for input. some help will be appreciated. Thanks in advance ^_^ https://code.sololearn.com/cIVJGYwUzH8P/?ref=app#rb
6 ответов
+ 9
@Gordie, Baptiste
Thanks for your answers i capitalized the g in Gets it stopped. i will mail this to them in a while.
+ 7
yes thanks for the info. is there solution for this. the prompt is really annoying.
+ 2
Home you'll get heard, even if I am not so optimistic ^^
+ 1
You could write :
g ets instead of gets