1.

Write some python data conversion function with example.​

Answer»

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.



Discussion

No Comment Found