+ 1

why is it that print("hello world") do not work while am praticing

21st Oct 2016, 9:53 PM
wisdom
wisdom - avatar
8 Antworten
+ 2
check your python version simply by using these two lines import std print (sys.version_info) Output should be like this minor = 3, major =5 .......
25th Oct 2016, 7:28 AM
Waqas Asghar Bhalli
Waqas Asghar Bhalli - avatar
+ 1
print("Hello world")
22nd Oct 2016, 1:45 PM
Alex
0
Do you write print before that?
21st Oct 2016, 9:56 PM
mikiwroc
0
yes I do
21st Oct 2016, 9:59 PM
wisdom
wisdom - avatar
0
Try to put apostrophes instead of quotes
21st Oct 2016, 10:01 PM
mikiwroc
0
And maybe a space between print and the rest
21st Oct 2016, 10:01 PM
mikiwroc
0
Check which version of Python is installed on your system. Python3.X print("Hi") Python2.X print "Hi"
22nd Oct 2016, 3:30 PM
Rohit Kumar
- 1
"hello" but with capital H....try it
9th Jan 2017, 9:35 PM
Miguel