+ 2

Why can't 7.0 be stored as a float

23rd Jun 2020, 9:38 PM
Goodnews Eniefiok
Goodnews Eniefiok - avatar
2 Answers
+ 6
Of course it can: a = 7.0 print(type(a)) >>> <class 'float'>
23rd Jun 2020, 9:47 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 3
I realise that, I missed read the question while studying, thanks for your help anyway, nice to meet you
23rd Jun 2020, 9:50 PM
Goodnews Eniefiok
Goodnews Eniefiok - avatar