摘要:
import turtle class Stack: def __init__(self): self.items = [] def isEmpty(self): return len(self.items) == 0 def push(self, item): self.items.append( 阅读全文
posted @ 2020-03-30 20:55
Song-SH
阅读(180)
评论(0)
推荐(0)
摘要:
from random import random import time import math print(" Begin ") start = time.perf_counter() scale = 10 for i in range(scale+1): a = '*'*i b = '.'*( 阅读全文
posted @ 2020-03-30 20:54
Song-SH
阅读(68)
评论(0)
推荐(0)
摘要:
import turtle turtle.pensize(4) turtle.pencolor("yellow") turtle.fillcolor("red") turtle.begin_fill() for i in range(5): turtle.forward(200) turtle.le 阅读全文
posted @ 2020-03-22 21:45
Song-SH
阅读(253)
评论(0)
推荐(0)
摘要:
import turtle turtle.pensize(2) turtle.pencolor("black") turtle.fillcolor("red") turtle.begin_fill() for i in range(5): turtle.forward(300) turtle.rig 阅读全文
posted @ 2020-03-15 22:05
Song-SH
阅读(126)
评论(0)
推荐(0)
浙公网安备 33010602011771号