0
Am using python 2.3.5 (command line) when I input 9**(1/2)=1 I know literally is 3.0 but my pc gave me 1. Any help
2 ответов
+ 2
Python2's division sign is used for integer division (Python3's //) unless at least one of the arguments is a float. So 1/2 gives 0, not 0.5
0
put all of code