Cours
Se connecterCommencer à apprendre l'IA
Cours
Se connecterCommencer à apprendre l'IA
+ 2

Python weird sum

Why does 12.7+18.4 does not equal 31.!? Python prints out 31.099999 instead? Someone?

pythonweird
28th Mar 2018, 4:06 PM
Tomer Sim
Tomer Sim - avatar
1 Réponse
0
Can I see the code you have?
1st Apr 2018, 12:52 AM
NulledNVoided
NulledNVoided - avatar

Vous avez souvent des questions comme celle-ci ?

Apprenez de manière plus efficace, gratuitement :

  • Introduction à Python

    7.1M apprenants

  • Introduction à Java

    4.7M apprenants

  • Introduction à C

    1.5M apprenants

  • Introduction à HTML

    7.5M apprenants

Voir tous les cours
Aujourd'hui en vedette
Ошибка в приложении Sololearn
1 Votes
Is anyone else experiencing this Sololearn issue?
0 Votes
NEO V2.0
1 Votes
Sololearn course
1 Votes
Best language?
0 Votes
solo learn program issue - iPhone?
1 Votes
How do I keep myself motivated in coding
0 Votes
Is it possible to write Rust code that is as compact and expressive as Python?
0 Votes
I am learning javascript intrmdt but when I play a code challenge. The app is givin me comlecated questions with less time.why?
0 Votes
Learn - multiple choice course questions display in one box making it impossible to continue
1 Votes