Level 1 : Which function is used to read input from the console in Python?

Author: Devakanth | Tags: input | 1859+ Python FAQs | Share
encapsulation | random | loops | membership-operators-(in,-not-in) | managing-directories-with-os-and-shutil | list-method | literal-characters-and-special-characters | enumerate() | boolean-and-non-boolean | mysql | conditional-statements | list-methods-and-slicing | min-max-function | class | global-keyword | python-module | complex | datetime.date,-datetime.time,-datetime.datetime | math-copysign | generators-in-python | comparison | global-variable | logical-operation | parameter | operator-overloading | functional-programming | deep-copy | assignment-operators | namespace | exception-handling | list-mutation | oops | list,-set,-and-dictionary-comprehensions | multiple-inheritance | collections | namedtuple | class-and-object | dicts | error-handling | class-and-inheritance | list-operation | booleans | arithmetic-expression | logical-operator | frozenset | python-repl | feature | polymorphism | error | package-management | nested-loop | python-operators | call | raise-statement | precedence-and-associativity | raise | exception-handling | functions | global | match | bitwise-operator | benefit | quantifiers-(*,-+,-?,-{}) | exponentiation | list-slicing | odd-number | operator-and | assignment-operator | python-history | postfix | operators | python-django | asyncio | methods | loop-control | filter-function | aggregating-data-with-functools.reduce() | function-argument | operator-or | module | opening-files-(open()) | multiple-inheritance | format | comment | mapping-function | asyncio-module | file | filter | loop | type-conversion | recurssion | encoding | built-in | gil | recursion | string-slicing | string-iteration | operations | async | filtering-and-indexing | function-and-scope | __all__-attribute | functional-programming | goto-function | logical-operators | python_version | boolean | center | file-handling | for | file_handling | string-manipulation | matrix | round-function | exception | test-discovery | expression | classes | random-function | regex | single-inheritance | numeric | strings | global-variable | numpy | __future__ | mutable | parsing-with-strptime | math | regular-expression | factorial-function | escape-operator | operator | string | round | pep | expand-tab | generator | string-concatenation | method-overloading | built-in-function | binary-operation | sorted | attribute | python | docstring | built-in-function | using-assertions-(assertequal,-assertraises) | fabs-function | bitwise | pandas | binary | memory | append | directory-operations | assert | version | type-conversion | why-use-multiprocessing-over-threading?-(gil) | while-loops | application | overflow | __init_subclass__ | class-and-instance-variable | print | choice | using-map()-for-transformations | command-line-parsing | thread | matrix-list-comprehension | list-comprehension | operand | error-handling | mathematical-function | function | name-mangling | matplotlib | list-vs-tuple | software-design | yield | magic-method | collection | string-formatting | slicing | type_conversion | class-decorators | syntax | formatting-with-strftime | using-else-and-finally | threading | int | pass | advanced-file-operations | else-statement | syntaxerror | object-attribute | reading:-read(),-readline(),-readlines() | formal-and-actual-parameter | anchors-(^,-$) | bitwise-operator | arbitrary-arguments-(*args,-**kwargs) | arithmetic-operation | stack | built-in-modules | regular-expressions | using-yield-in-functions | copy | array | default-arguments | multithreading | loop-control-statements | iterator | string-methods | access-modifier | lambda | multiprocessing | map-function | floats | with-statement | time-series-with-pandas | objects | logical-operator | while-and-for-loop | constructor | decimal | dictionary-comprehensions | pseudocode | method | boolean-masking | generators | design-principle | condition | decorator | handling-missing-values-(fillna,-dropna) | datetime | lists | working-with-file-paths | conversion | dictionary-methods | static-method | counter | file-handling | complex-number | else | set | data-types | scientific-notation | reading-and-writing-large-files-efficiently | sum() | head-and-tail | immutable-data-type | introduction-to-threads | data-structure | counter-function | print-statement | oop | pickling--unpickling | unit-testing | interpreter | overriding-methods | range | list-comprehension | mathematics | identifier | data-type-conversions | string-method | working-with-dates-and-times | multiple-except-blocks | min-function | invalid-list | joining-and-merging-dataframes | memory-management | compute | list-indexing | iterators | data-structure | control-statement | import-method | string-formatting | creating-custom-modules | precedence | default-mutable-argument | intering | rollback | inherit | identity-operator | descriptors | max-min | reading-and-writing-files | list-join | debugging | syntax-error | data-structures-in-python | conditional-statement | walking-through-directories-using-os.walk() | join | using-lists-as-stacks | virtual-environment | string-method | heap-memory | turtle | tuple | iterable | staticmethod | control-flow | writing:-write(),-writelines() | datatype | dataframe-and-series-objects | defining-functions | comprehension | using-join()-and-is_alive()-methods | using-os-and-pathlib-modules | input | sets | indexing:-loc-vs-iloc | identity-operators-(is,-is-not) | return-statement | type-conversion-and-casting | working-with-temporary-files-using-tempfile | statement | string-slicing | zfill-function | set-operation | higher-order-function | destructor | input-function | integer | data_structure | context-manager | control-flow | data-type | dictionary | tuple-methods | list-comprehensions | introduction-to-python | typeerror | identity-operator | while-loop | sys-module | sorting-and-ranking | data-structures | using-the-threading-module | indexing | init | touples | introduction-to-multiprocessing | zip | data-type | virtual-environment | lambda-functions | zip-function | dictionaries | split | syntax-error | swapping | def | thread-safe-data-structures-(queue.queue) | conditional-statement | creating-and-starting-threads | input-function | thread-synchronization | basic | shallow-copy | inheritance | id-function | tuple-unpacking | lambda-function | list | indentation | implementation | library | keyword | sys | variable | lambdas | sum-function | sorting | while-else-loop | update | working-with-binary-files-(rb,-wb) | tuples | python-syntax-and-structure | slice | immutability | installation | integers | key-value-pairs | floating-point-precision | difference-between-threads-and-processes | version-check ...