Level 1 : What is type casting in Python?

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