笨办法学Python(第三版)-习题1

习题1:第一个程序


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.'

附加练习


1.让你的脚本再多打印一行

2.让你的脚本只打印一行

3.在一行的起始位置放一个“#”字符。它的作用是什么?自己研究一下。

你可能感兴趣的:(笨办法学Python(第三版)-习题1)