Level 1 : What is the output of the following code?


x = 10
print(type(x))

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