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


x = 10
print(type(x))

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