How to give input using scanner in replit

I’m new to replit, where to give the user input value either in console or shell? I’m confused.

1 Like

Hey @DEEPAKPERLA1 welcome to the forums!

When printing out your Code or asking for input in your Code it will show up in the Console, the Shell is for commands to set things up. I hope this helps!

1 Like

Welcome to Ask @DEEPAKPERLA1!

The Replit shell is very similar to the terminal on your computer. You can simply click anywhere in the shell and start typing.
The Replit console is similar to the shell. Once you press the Run button, the console will display the output of your main file [1].


  1. Usually the file you start at when you create a repl from a template. ↩︎

1 Like