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


p = 5/5.5
s = 5*5.5
print(p//s)

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