0
Why >>>(4+8)/2 is equal to 6.0 not 6?
8 Antworten
+ 1
Floats
+ 1
Ya here's a example:
a = float
print(int(a(4 + 8)))
the output is 12 not 12.0
+ 1
print((4 + 8) / 2)
Ans: 6.0
0
Please Elaborate
0
Did you do:
Print(4+8)/2
0
Yes
0
Uuuhhh just a sec
0
So you need int and float