Level 9 : Whar is the output of the following code?


a = 50
b=60
avg = (a+b)/2
print(avg)

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