物种起源

python课程相关知识

0
推荐
845
阅读

Lesson1:基础语法+作业

输出:1、换行输出:print("hello")2、不换行输出:Python3 print("hello",end="")   Python2 print "hello",注释:单行注释 #多行注释 """控制流:while (条件):if(条件):elif(条件):else:for i in 列表:作业for in range(9,0,-1):  for j in range(i,0,-1):    print(str(i)+"*"+str(j)+"="+str(...

发表了文章 • 2016-10-22 09:17 • 0 条评论