Level 9 : What will be the output of the following Python code?


import sys
sys.stdin.readline()
Sanfoundry

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