Level 9 : What will be the output of the below python code?


>>> a=(2,1,(5,4))
>>> b=(2,1,(4,3))
>>> a<b

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