Level 3 : What will be the datatype of the var in the below code snippet?


value_one = 10
print(type(value_one))
value_two = "Hello"
print(type(value_two))

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