I find myself unable to Google for gets in other languages. That is, because every language seems to call "take a line of input interactively from the keyboard and return it" a slightly different thing.

In Ruby:

foobar = gets

In Python:

foobar = raw_input()

See Python Standard Library Documentation ยง2

In Java, use java.io.Console. Example.

Powered by WiGit