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


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

Author: anusha | Tags: operator | 1736+ Python FAQs | Share
loops | classes | integer | default-mutable-argument | pseudocode | list-comprehension | invalid-list | heap-memory | identity-operator | copy | input | syntax-error | pep | slice | virtual-environment | filter | logical-operation | call | math | regular-expression | string-method | memory | head-and-tail | loop | thread | matrix | matplotlib | object-attribute | inheritance | lambdas | string-formatting | version-check | async | decorator | virtual-environment | escape-operator | math-copysign | format | for | generator | type-conversion | syntaxerror | conditional-statement | magic-method | __all__-attribute | oop | else-statement | list-method | set-operation | sys | global-variable | boolean-and-non-boolean | numpy | sorting | collections | zip | init | data-structure | built-in-function | variable | __init_subclass__ | exponentiation | context-manager | loop-control | module | python-repl | method | complex-number | data-type | control-flow | turtle | while-else-loop | binary | built-in | higher-order-function | join | parameter | stack | function | bitwise-operator | gil | input-function | inherit | syntax | fabs-function | min-max-function | round-function | software-design | error-handling | methods | split | list-comprehension | immutable-data-type | list-join | nested-loop | goto-function | counter | global-keyword | list-indexing | benefit | match | mysql | implementation | feature | basic | file | sum() | dicts | counter-function | file-handling | input-function | id-function | dictionary | polymorphism | string | arithmetic-operation | design-principle | operators | version | function-argument | regex | __future__ | string-manipulation | application | debugging | global-variable | raise | functional-programming | print | swapping | print-statement | binary-operation | generators-in-python | choice | command-line-parsing | iterator | python-django | interpreter | asyncio-module | frozenset | zfill-function | rollback | datetime | error | python | type_conversion | comparison | formal-and-actual-parameter | mapping-function | access-modifier | mathematics | while-loop | list-mutation | class-and-object | installation | operations | deep-copy | logical-operator | memory-management | asyncio | threading | string-method | recursion | operand | collection | precedence-and-associativity | assignment-operator | bitwise | multiprocessing | control-flow | postfix | expression | data_structure | boolean | mutable | control-statement | dictionaries | identifier | floating-point-precision | compute | list-vs-tuple | sum-function | operator-or | factorial-function | filter-function | zip-function | identity-operator | tuple-unpacking | destructor | statement | class-and-inheritance | file_handling | condition | oops | assert | indexing | int | slicing | immutability | mathematical-function | sys-module | operator-and | package-management | map-function | list-operation | exception | string-concatenation | def | yield | string-iteration | pickling-&-unpickling | bitwise-operator | namedtuple | with-statement | multiple-inheritance | enumerate() | overflow | pandas | list-slicing | conversion | encapsulation | sorted | matrix-list-comprehension | encoding | library | logical-operator | indentation | objects | random-function | syntax-error | class | array | docstring | odd-number | string-formatting | built-in-function | generators | python-module | data-type | staticmethod | name-mangling | import-method | while-and-for-loop | comprehension | operator-overloading | set | round | operator | scientific-notation | data-structure | lists | center | numeric | min-function | tuple | complex | datatype | decimal | return-statement | data-structures | class-and-instance-variable | lambda-function | range | string-slicing | global | functions | constructor | lambda | function-and-scope | max-min | update | append | string-slicing | conditional-statement | exception-handling | descriptors | typeerror | namespace | iterable | multithreading | exception-handling | random | python-history | python_version | shallow-copy | type-conversion | keyword | file-handling | expand-tab | touples | static-method | precedence | list | recurssion | arithmetic-expression | comment | attribute ...