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


x = 10
print(type(x))

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