+ 2
Is python support operation directly???
I am trying to get output for 6//2 The output I saw is No Output.. Can anyone give me solution??
3 Antworten
+ 8
You can only in a command line interpreter ( if you've Python installed, run its by typing 'python' on a command line terminal/console )...
But inside a script text file, you need to ask Python to print ( out-put ) what you want to be displayed on screen:
print(6/2) # new in Python 3.x, require parenthesis
0
tqq
it worked
- 1
hey