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