0

how can I solve the problem?

I can't do that on python: 6.679 to 7.00

30th May 2020, 2:27 PM
Sandipan Biswas
Sandipan Biswas - avatar
3 Réponses
+ 2
use round(6.679, 0)
30th May 2020, 2:28 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar
+ 1
yes, it was. many many thanks of you
4th Jun 2020, 4:40 AM
Sandipan Biswas
Sandipan Biswas - avatar
0
float(round(6.679)) turns 6.679 to 7.00 but was it really your question? please make your question clear.
30th May 2020, 2:29 PM
M Tamim
M Tamim - avatar