Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

bellcode / lesson3-5-2_DIY1

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • lesson3-5-2_DIY1
  • bug.py
Find file
BlameHistoryPermalink
  • BellCodeEditor's avatar
    save project · 3a450d9e
    BellCodeEditor committed 3 years ago
    3a450d9e
bug.py 410 Bytes
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# import turtle
# pen = turtle.Pen()
# screen = turtle.Screen()
# screen.bgcolor("black")
# pen.speed(0.1)
# c=["red","blue","yellow","green","white","grey","brown","purple","pink"]
# for i in range(350):
#     pen.forward(i)
#     pen.right(91)
#     pen.pencolor(c[i%9])
# pen.hideturtle()
# turtle.done()

for a in range(1,10):
    for i in range(1,a+1):
        print(a,'*',i,'=',(a*i),end=" ")
    print()