Level 10 : what is the output of the below function? max(min(True,0,4),9,4)

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