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

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