+ 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??

12th Jan 2017, 6:36 AM
Usha M
Usha M - avatar
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
12th Jan 2017, 6:45 AM
visph
visph - avatar
0
tqq it worked
12th Jan 2017, 6:49 AM
Usha M
Usha M - avatar
- 1
hey
11th Aug 2017, 5:50 PM
Sandip Yadav
Sandip Yadav - avatar