Level 9 : What is the output for the below code


x = max(False, -6, -7)
b = min(x, 2, 9)
print(b)

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