0
So converting an integer to a float, all you'd need to do is multiple it by 1.0?
2 Antworten
0
I would argue that the zero in 1.0 is neglected so that 1.0 on fact is an integer as well.
0
type casting would be much more effective ex;
int x
print(float(x))