+ 1

What’s the difference between these sentences?

1.language= “python” print (language) 2.language =“python” language On computer,they have different outputs.

28th Dec 2017, 5:55 AM
Alex Schmidt
Alex Schmidt - avatar
2 Answers
+ 3
print(language) prints "python" to the screen, while: language does literally nothing.
28th Dec 2017, 5:58 AM
LunarCoffee
LunarCoffee - avatar
+ 1
if u use them in the interpreter the both outputs are Python if u use them in the compiler the 1.output is Python 2.there is no output
30th Dec 2017, 2:09 PM
NAGANDLA.LEELA PAVAN KUMAR
NAGANDLA.LEELA PAVAN KUMAR - avatar