Level 9 : What is the type of the following variable?


Z= -8i

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