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