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


print(int(2.999))

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