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


print(int(2.999))

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