What is coercion?
Answer / Rajiv Singh Chaudhary
In Python, coercion refers to the automatic conversion of one data type to another when an operation requires a specific type that the operands do not have. For example, when adding a string and a number, Python automatically converts the string into a number.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can python be used for automation?
When would you use a break statement in a for loop?
What is the sleeping time of giraffe?
What is the comment tag in Python ?
What is the use of numpy package?
How would you check if MySQLdb is installed?
explain the filter() function?
Tell me what is the difference between list and tuple?
Is python 0 indexed?
What is shebang python?
How do you find the number of references pointing to a particular object?
What is Python's Purpose?