1 少儿编程侯老师

尚未进行身份认证

暂无相关简介

等级
TA的排名 8k+

ziheng -学习制作二维码

from MyQR import myqr as mq# file --- setting --- project--interpreter# + ---》MyQR ----》 install ---》 OKmq.run("http://www.4399.com/", picture="s.gif", colorized=True, save_name="a.gif")

2020-05-31 20:49:51

xinxin -机器学习

nian = [[1], [3], [5], [7], [9], [11], [15], [17]]shengao = [[76.5], [96.8], [111.3], [124], [135], [145], [170], [172]]yuce = [[13]]from sklearn import linear_modelmodel = linear_model.LinearRegression()model.fit(nian,shengao)score=model.score(nia

2020-05-31 19:49:55

weixuan-接小球游戏终极

import pygameimport randomimport time# 初始化pygame.init()ck = pygame.display.set_mode((600, 600))ball_x = 300ball_y = 300x = 300y = 300r = random.randint(0, 244)g = random.randint(0, 244)b = random.randint(0, 244)right = True # 默认处事向右移动down =

2020-05-31 12:49:55

junjie -接小球游戏3.0

import pygameimport randomdef qiu(bally,speedy,ballx,speedx,r,g,b ): bally = bally + speedy ballx = ballx + speedx if bally < 0: speedy = 1 if ballx >= chuang_kou_kuan: speedx = -1 if ballx <= 0: spee

2020-05-31 10:51:29

succi -学习qq登陆界面

import tkinter as tkwindow=tk.Tk()window.title('登录界面')window.geometry('600x500')label=tk.Label( window, font=(None,24), fg='black', bg='skyblue', text='QQ')label.place(x=250,y=0,width=100,height=50)zh_la = tk.Label( window

2020-05-30 14:52:25

weixuan -nb的接小球

import pygameimport randomimport time# 初始化pygame.init()ck = pygame.display.set_mode((600, 600))ball_x = 300ball_y = 300x = 300y = 300r = random.randint(0, 244)g = random.randint(0, 244)b = random.randint(0, 244)right = True # 默认处事向右移动down =

2020-05-30 12:49:24

zhaowei - 字典

# 字典 {}# pinyin:拼音 提手旁:捉# 索引: 值name = {'名字': "李赵炜", "HP": 1000000000000000, '伤害': 999999, "武器":"SK12"}print(name)# 四大功能: 增 删 改 查# 查找: 字典[索引]print(name["HP"])print(name['伤害'])# 修改: 查找出来 = 想被修改成的内容name["武器"] = 'DP-28'print(name)# 增加:查

2020-05-28 21:52:26

xingtai - 计算器1

import tkinter as tkwc = tk.Tk()wc.title("瑆太牌计算器")wc.geometry("280x500")# Label 标签la_jieguo = tk.Label( wc, text="计算结果", bg="#BBFFFF", fg="black", font=(None, 20), anchor="se" # 锚 固定 east north south west)la_jieguo.place(x=0

2020-05-26 20:21:11

python学习方法总结3(内附python全套学习资料)

不要再问我python好不好学了我之前做过半年少儿编程老师,一个小学四年级的小孩子都能在我的教学下独立完成python游戏,植物大战僵尸简单版,如果要肯花时间,接下来的网络开发也不是问题,人工智能也可以学个调包也没啥问题。。。。。所以python真的是想学就一定能学会的!!!!----------公众号【一行数据】----------领取资料-----------回复【python】--------------------先聊聊互联网转行那些事儿很多人是小白,想从事或转行互联网,想以python为切

2020-05-26 18:54:25

zhaowei - 参团率

import randomhero = ["铠", "鲁班七号", "扁鹊", "亚瑟", "刘禅"]cantuan = []# appendfor i in range(100): cantuan.append(hero[random.randint(0, 4)])print(cantuan)

2020-05-26 18:50:39

zhaowei -学习while循环

# j = 0# for i in range(100):# j = j+100# print(j)# while 循环 while 当。。。时候j = 0while j < 5: # 判断语句 j = j+1 print(j)···

2020-05-25 18:51:28

junjie 接小球游侠2.0

import pygameimport randomdef qiu(bally,speedy,ballx,speedx,r,g,b ): bally = bally + speedy ballx = ballx + speedx if bally >= chuang_kou_gao: speedy = -1 if bally <= 0: speedy = 1 if ballx >= chuang_kou_kuan

2020-05-24 10:51:31

Bob - 双人接小球游戏

import pygameimport randomyihaowanjiadefen = 0erhaowanjiadefen = 0import time as tdef ball(screen, x, y, down, right, green, speed): if down: y = y + speed else: y = y - speed if right: x += speed else:

2020-05-23 15:52:29

Bob - 对接小球

import pygameimport randomyihaowanjiadefen = 0erhaowanjiadefen = 0import time as tdef ball(screen,x,y,down,right,green): if down: y = y + 1 else: y = y - 1 if right: x += 1 else: x -= 1 if y > 6

2020-05-23 14:57:42

succi -测手速游戏

import tkinter as tkimport timewindow=tk.Tk()window.title('测手速游戏')window.geometry('600x500')# Label 标签# 速度# 时间start=time.time()ci=0def chuo(): global ci global start end=time.time() ci=ci+1 la["text"] = '点赞次数:%d 次\n游戏时间:%.2f 秒

2020-05-23 14:50:48

harry -画彩虹1.0

import turtleturtle.left(90)turtle.color('purple')turtle.pensize(20)turtle.circle(100,180)turtle.done()

2020-05-22 21:38:32

xingtai-我爱qq

import tkinter as tmw = t.Tk()mw.title("QQ")mw.geometry("800x450")# QQbiao_qian = t.Label( mw, text = "QQ", fg ="white", bg = "#00E5EE", font=(None,40))biao_qian.place(x=0, y=0, width=800, height=200)# QQzhang_hao_biao_qian =

2020-05-21 19:47:48

aden -接球游戏 2.0

import pygameimport time# 游戏初始化pygame.init()# 设置窗口大小 640长度 窗口宽度500screen = pygame.display.set_mode((640, 500))x = 100 # x经度y = 100a = 200b = 200r, g, b = 100, 200, 300while 1 < 100: # 事件:我们对电脑的物理操作,按键,鼠标(按键,移动) for event in pygame.e

2020-05-19 17:47:01

zhaowei - 皇帝的棋盘

# 皇帝的米粒/皇帝的棋盘# 64格 1 2 4 8 16# for dd in range(64):# dd =# 第一个各子ge = 1mi = 1zong = 1print("现在是第%d个格子,该格子有%d个米,目前一共%d粒米"%(ge,mi,zong))# 第二个格子ge = ge*2mi = mi*2zong = zong+miprint("现在是第%d个格子,该格子有%d个米,目前一共%d粒米"%(ge,mi,zong))# 第三个格子ge =

2020-05-18 18:54:00

ziheng - 学习机器人对话

import requests# easyguiimport easyguifor i in range(3): wen_ti = easygui.enterbox("请输入你想问的问题:") url = "http://www.tuling123.com/openapi/api?key=d8dee202a87940bd866332938dd9ec52&info="+wen_ti xiang_ying = requests.get(url).json() eas

2020-05-17 20:51:04

查看更多

勋章 我的勋章
  • 技术圈认证
    技术圈认证
    用户完成年度认证,即可获得
  • 持之以恒
    持之以恒
    授予每个自然月内发布4篇或4篇以上原创或翻译IT博文的用户。不积跬步无以至千里,不积小流无以成江海,程序人生的精彩需要坚持不懈地积累!
  • 勤写标兵Lv4
    勤写标兵Lv4
    授予每个自然周发布9篇以上(包括9篇)原创IT博文的用户。本勋章将于次周周三上午根据用户上周的博文发布情况由系统自动颁发。
  • 原力新人
    原力新人
    在《原力计划【第二季】》打卡挑战活动中,成功参与本活动并发布一篇原创文章的博主,即可获得此勋章。