In Python
int (1000000000000000000/3)=333333333333333312
But it should be:
int (1000000000000000000/3)=333333333333333333
I am new to python.
In Python
int (1000000000000000000/3)=333333333333333312
But it should be:
int (1000000000000000000/3)=333333333333333333
I am new to python.
You need to apply floor division //
to get that result in python3 as below:
In [1]: 1000000000000000000//3
Out[1]: 333333333333333333