Level 1 : What is type casting in Python?

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