Reading Input from Console (Runtime User Input) This lesson is about reading values from the user while the program is running — like when you use in JavaScript or fill in a form. Do not confuse this with function parameters (inputs to functions). Here, we are talking about interactive input in the console/terminal . Basic Input JavaScript: Python: pauses the program and waits for the user to type something. The result is always a string , even if you type numbers. Type Conversion Since always returns a string, you must convert it for numbers: Python: JavaScript works the same way with : Example: Simple Calculator Input Equivalent in JavaScript: Validating Input If the user enters invalid data, Python throws an error unless you handle it: This is similar to JS with check. Multiple Inputs In JavaScript (Node.js), you need . In Python, just call multiple times: Quick Takeaway in Python = in JavaScript. Always returns a string → convert with or . Great for interactive console programs like calculators, login systems, and CLI apps. Different from function input — this is input from the user at runtime .