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