Westonci.ca is the best place to get answers to your questions, provided by a community of experienced and knowledgeable experts. Discover in-depth answers to your questions from a wide network of experts on our user-friendly Q&A platform. Join our Q&A platform to connect with experts dedicated to providing accurate answers to your questions in various fields.

In Python, when is the int( ) and float( ) functions used

Sagot :

Answer:

To convert it into an integer, you need to use the int() function. Similarly, to convert the value of x into a float, use the float() function.