+ 1
In python3. X what is the solutino of (8+4)/2
Basic Python
3 Answers
+ 3
6.0
You can also self-check it in the code playground.
And python 2.X is not supported after 1st January 2020.
+ 2
6.0, 8+4 returns 12, and dividing it by 2 returns a float, 6.0
- 2
solution will be 6
and code for it is below
print((8+4)/2