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


print(int(2.999))

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