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