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


print(int(2.999))

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