Why answer us in decimal | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why answer us in decimal

1st Mar 2022, 8:12 AM
Ikerma Khan
4 Answers
+ 3
What answer is in decimal? Your question is incomplete
1st Mar 2022, 8:13 AM
Rishi
Rishi - avatar
+ 2
Ikerma Khan Use this then (for example): x=(7.0×4.0) print(int(x))
1st Mar 2022, 8:35 AM
JOKER
JOKER - avatar
+ 1
I mean why answer in python comes in decimal when you multiply numbers.
1st Mar 2022, 8:14 AM
Ikerma Khan
+ 1
Ok
1st Mar 2022, 8:36 AM
Ikerma Khan