sophiarobey
sophiarobey sophiarobey
  • 06-05-2022
  • Computers and Technology
contestada

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

Respuesta :

shaplia
shaplia shaplia
  • 06-05-2022

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.

Answer Link

Otras preguntas

Identify the ways in which carbon is added to the atmosphere
someone help me answer this !
Counting both blacks and whites, it had a population of over 20 million people in 1861
If you are writing a rhythm that takes up four beats, could you include 2 whole notes? Why or why not? Pls help, thanks :)
Which of the following is NOT an effect of habitat fragmentation? Organisms have decreased ability to move around. Organisms have fewer opportunities to hunt fo
Find the area of a circle with radius 14 mm. Round your answer to the nearest tenth.
Warm air holds _____. less water than cool air the same amount of water as cool air more water than cool air
An example of an average, main sequence star would be —
What is the relationship between the valence electrons of an atom and the chemical bonds the atom can form?​
The amount of resistance, y, in a circuit varies inversely to the current, x, in the circuit. When 10 ohms of resistance are used in the circuit, 12 amperes of