float value | SoloLearn: Learn to code for FREE!

+1

float value

the answer for this 1+2+3+4.0+5

10/2/2018 11:54:49 AM

khaja basha

3 Answers

New Answer

+1

+1

print(1+2+3+4.0+5) print(type(1+2+3+4.0+5)) Output: 15.0 <class 'float'>

+1

int+float=float int+int=int float+float=float