Python 3.3.3 (v3.3.3:c3896275c0f6, Nov 18 2013, 21:18:40) [MSC v.1600 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> print('Hello China')
Hello China
>>>
一个标准的输出语句,是不是非常简单啊。再来一个:这次我们建了一个文档,python叫它模块。
world="hello"
repeat=2
print(world*2)
和其他语言一样F5运行,大家猜一下,是什么结果?
Python 3.3.3 (v3.3.3:c3896275c0f6, Nov 18 2013, 21:18:40) [MSC v.1600 32 bit (Intel)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> ================================ RESTART ================================
>>>
hellohello
>>>