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