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