Level 3 : What is the output of the following python code?


print(int(2.999))

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