0
Why 6.0
((4+8)/2)??
3 Respuestas
+ 7
Please given tags related to your questions!
-> (4+8)/2
-> (12)/2 (brackets are solved first)
-> 6.0 ( / ,gives float value)
0
#If your question is why 6.0 and not 6 than the answer is, division gives always the output as float.
print(6/2)
result is 3.0
print(int(6/2))
result is 3
0
Thanks 🙏🏻