python的简单输入输出格式

python的输入与输出: 1. python的输出: python2: print "要打印的字符串" python3: print("要打印的字符串") name = "python" print("hello %s" %(name)) sid = 1   print("hello %.3d" %(sid))   2. python的输入: python2: raw_input(): 接收字符
相关文章
相关标签/搜索