C-16-Q062mediumsingle_mcq
float() creates fractional numbers from:
float() creates fractional numbers from:
- aonly strings
- bonly floats
- conly integers
- dstrings, floats, or integers
ব্যাখ্যা
The float() function produces a floating-point number and can accept strings, floats, or integers as input. This flexibility makes the correct choice "strings, floats, or integers."