Write some python data conversion function with
example.
Answers
Answered by
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.
Similar questions