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