1 of 52
print ”Hello world!”
print “Hello Again”
print “I like typing this.”
print “This is fun.”
print ‘Yay! printing.’
print “I’d much rather you ‘not’.”
print ‘I “said” do not touch this.’
save to a file named ex1.py
note:
1,print 打印一行(不用加换行符)
2,单引号双引号都可以,打印单引号可以用双引号,打印双引号可以用单引号