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

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