Level 9 : How to get the absolute value of a number in the below?

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