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


import sys
sys.stdin.readline()
Sanfoundry

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