Computer Science, asked by kripa1048, 8 months ago

Name different types of 'TYPE CASTING' in Python and explain with examples

Answers

Answered by singhjaspal8456
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