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


print(int(2.999))

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