Level 9 : What is the result of round(0.5) – round(-0.5)?

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