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


print(int(2.999))

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