Computer Science, asked by 91929201, 1 year ago

types of convertion in python with example​

Answers

Answered by laxmi1783
1

Answer:

Type Conversion in Python

int(a,base) : This function converts any data type to integer. ...

float() : This function is used to convert any data type to a floating point number. ...

ord() : This function is used to convert a character to integer.

hex() : This function is to convert integer to hexadecimal string.

Explanation:

Similar questions