0
Why 1/3 gives no output in python?
When I input 1/3 or 11/3 there is no output. Can anyone please explain that?
3 ответов
+ 3
That's a rather vague question...
To create an output that will be displayed you need to use the "print(1/3)" command
That will give you an output
0
Thanks a lot
0
dada do it like s=a/b
print s
it is correct
for py 2.7 a//b valid
but in py3 it is used for float division