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