0

can I write " 'hello world' "in python2.7 and get the same result as "print('hello world')"

:D

5th Jul 2016, 8:12 AM
elsa.renalia
elsa.renalia - avatar
5 Réponses
+ 1
print "hello world"
5th Jul 2016, 9:43 AM
Oyuncu Doruk
Oyuncu Doruk - avatar
+ 1
oh, ok thanks
5th Jul 2016, 11:43 AM
elsa.renalia
elsa.renalia - avatar
+ 1
print("hello world")
6th Jul 2016, 12:36 PM
Mudit Jhawar
Mudit Jhawar - avatar
+ 1
print("hello world")
24th Mar 2017, 10:32 AM
moluo
moluo - avatar
0
2.7 is a little bit different in 2.7 we don't use a bracket for printing
10th Jul 2016, 5:43 AM
ritik tiwari
ritik tiwari - avatar