Python学习 —— 基础
因个人觉得python3少了很多python2的简洁,所以教程使用的是python2.x输出
print "hello,world"
python3中的输入必须带括号print("hello,world")输入str = raw_input("提示的内容")
#换行
str = raw_input("\n")Listword = ['1']*8
print word
#输出['1', '1',
原创
2015-07-05 22:33:38 ·
493 阅读 ·
0 评论