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