ex1-第一个程序 ”helloworld”

代码:
print("Hello world.")
print("Hello again.")
print("I like typing this.")
print("This is fun.")
print('Yay! Printing.') # 单引号跟双引号的效果一样的~
print("I'd rather you 'not'.")
print('I said:"do not touch this."') # 外面如果用双引号,里面就打不出来了,所以用单引号~
图片:

浙公网安备 33010602011771号