How does Python type conversion?

 

Providing Python or variable values ​​are converted from one type to another type of built-in functions. Such as int mathematical function can be converted to meet the format numeric strings to integers. Otherwise, it returns an error message.

Guess you like

Origin www.cnblogs.com/sea-stream/p/11244325.html