Level 1 : What does this code output?


t = ((1, 2), (3, 4))
print({t: "value"})

Author: SandhyaR | Tags: tuple | 1736+ Python FAQs | Share
functions | indentation | generators-in-python | magic-method | while-else-loop | binary-operation | list-operation | feature | destructor | round-function | condition | list-vs-tuple | mutable | complex | class | conditional-statement | operators | stack | zip-function | global-keyword | for | while-and-for-loop | indexing | matplotlib | zip | virtual-environment | command-line-parsing | error-handling | min-max-function | objects | __init_subclass__ | built-in-function | assert | comparison | gil | mathematical-function | input-function | python-module | classes | id-function | def | list-comprehension | memory-management | docstring | file-handling | __future__ | loop | scientific-notation | bitwise-operator | dictionary | min-function | class-and-object | else-statement | global-variable | lambda-function | built-in | class-and-inheritance | deep-copy | numeric | string | dicts | raise | range | python_version | design-principle | identity-operator | comprehension | turtle | escape-operator | version | comment | operator | update | input | enumerate() | split | data-type | module | generator | filter-function | string-iteration | memory | datatype | integer | polymorphism | collections | goto-function | arithmetic-expression | inheritance | higher-order-function | operator-and | copy | python | string-concatenation | type_conversion | precedence | map-function | control-flow | swapping | regex | oops | identifier | precedence-and-associativity | mysql | error | numpy | software-design | random | frozenset | invalid-list | file_handling | control-statement | exception | oop | conditional-statement | join | datetime | overflow | constructor | list | recursion | heap-memory | operations | file | object-attribute | syntax-error | method | factorial-function | with-statement | virtual-environment | yield | string-formatting | int | zfill-function | global-variable | slicing | iterable | print-statement | staticmethod | lambda | __all__-attribute | identity-operator | library | append | counter | list-indexing | exception-handling | basic | name-mangling | nested-loop | function | input-function | typeerror | init | access-modifier | expand-tab | loop-control | string-method | collection | pickling-&-unpickling | boolean | syntax | sorting | bitwise | functional-programming | inherit | function-and-scope | application | matrix | type-conversion | lambdas | operator-or | encapsulation | logical-operation | math | choice | while-loop | function-argument | control-flow | complex-number | generators | thread | attribute | variable | lists | static-method | string-method | sum-function | asyncio-module | touples | odd-number | match | string-manipulation | round | package-management | slice | multithreading | syntax-error | logical-operator | center | interpreter | python-repl | pandas | print | installation | set-operation | random-function | namedtuple | descriptors | binary | boolean-and-non-boolean | string-slicing | return-statement | assignment-operator | rollback | version-check | matrix-list-comprehension | sum() | statement | operator-overloading | sorted | data_structure | python-django | list-comprehension | loops | array | bitwise-operator | context-manager | file-handling | postfix | namespace | formal-and-actual-parameter | benefit | mapping-function | head-and-tail | global | list-join | counter-function | asyncio | data-structure | iterator | mathematics | call | encoding | dictionaries | filter | immutable-data-type | sys | conversion | data-structures | import-method | exception-handling | data-type | debugging | logical-operator | exponentiation | default-mutable-argument | implementation | data-structure | tuple | regular-expression | sys-module | arithmetic-operation | list-slicing | built-in-function | fabs-function | shallow-copy | python-history | pseudocode | multiple-inheritance | format | threading | class-and-instance-variable | methods | syntaxerror | decimal | set | keyword | recurssion | multiprocessing | tuple-unpacking | decorator | math-copysign | expression | type-conversion | string-formatting | floating-point-precision | string-slicing | operand | list-method | pep | list-mutation | async | max-min | immutability | parameter | compute ...