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