Level 9 : What is the output of this code if the user enters 5?


x = input("Enter a number: ")
print(type(x))

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