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


x = 10
print(type(x))

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