types of convertion in python 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 string.
Explanation:
Similar questions
Social Sciences,
6 months ago
Computer Science,
6 months ago
Computer Science,
6 months ago
Physics,
1 year ago
Biology,
1 year ago
English,
1 year ago