C-16-Q069mediumsingle_mcq
After y = float(2.8), the value of y is:
After y = float(2.8), the value of y is:
- a2
- b3
- c2.8
- d'2.8'
ব্যাখ্যা
float(2.8) takes a value that is already a float and returns it unchanged as 2.8. No rounding or truncation occurs with float().