Name different types of 'TYPE CASTING' in Python and explain with examples
Answers
Answered by
10
Answer:
Int(a,base) is a popular function as it can convert any data type into an integer. float() can turn any data type into a floating-point number. oct() converts integers to octal strings, and hex() converts integers to hexadecimal strings.
Explanation:
hope it will help you.....
Similar questions
English,
4 months ago
Biology,
4 months ago
Accountancy,
4 months ago
Hindi,
8 months ago
English,
11 months ago