Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite+ 1
float value
the answer for this 1+2+3+4.0+5
3 Réponses
+ 1
is float
+ 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