摘要: # -*- coding: UTF-8 -*- from turtle import * def mygoto(x,y): up() goto(x,y) down() ''' def draw(z): while True: forward(z) left(144) if abs(pos()) < 阅读全文
posted @ 2018-03-22 21:55 201505060365张木贵 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 1.字符串 a = 'examples'print(a)for i in a: print(i) 2.列表s = 'this is a string examples'ls = s.split()print(ls)for i in ls: print(i) 3.元组tup = ('Nacy', 'A 阅读全文
posted @ 2018-03-22 21:51 201505060365张木贵 阅读(161) 评论(0) 推荐(0) 编辑