Level 1 : What will be the output of the following code?


X = 2+9*((3*12)-8)/10

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