import turtledef tree(branch_len): if branch_len > 5: #树干太短不画,即递归结束条件 t.forward(branch_len)#画树干 t.right(20) #右倾斜20度 tree(branch_len - 15) #递归调用,画右边的小树 ...
分类:
其他好文 时间:
2020-04-07 00:31:10
阅读次数:
103
第一步:构造数据 import numpy as np import os x_values = [i for i in range(11)] x_train = np.array(x_values, dtype=np.float32).reshape(-1, 1) y_values = [i * ...
分类:
其他好文 时间:
2020-04-07 00:23:28
阅读次数:
132
题目 Farmer John has arranged his N (1 ≤ N ≤ 5,000) cows in a row and many of them are facing forward, like good cows. Some of them are facing backward, ...
分类:
其他好文 时间:
2020-04-06 17:13:28
阅读次数:
68
题目 Farmer John has arranged his N (1 ≤ N ≤ 5,000) cows in a row and many of them are facing forward, like good cows. Some of them are facing backward, ...
分类:
其他好文 时间:
2020-04-06 09:56:48
阅读次数:
80
题目描述 Farmer John has arranged his N (1 ≤ N ≤ 5,000) cows in a row and many of them are facing forward, like good cows. Some of them are facing backwar ...
分类:
其他好文 时间:
2020-04-06 00:23:00
阅读次数:
298
1 linux iptables ubuntu centos redhat alpine 2 开源产品 jenkins git nginx openstack kubenetes mysql cobbler docker kvm lvs haproxy zabbix promethues ansib ...
分类:
其他好文 时间:
2020-04-06 00:14:17
阅读次数:
80
1 package com.rzk.servlet; 2 3 4 import org.apache.commons.fileupload.FileItem; 5 import org.apache.commons.fileupload.FileUploadException; 6 import o ...
分类:
Web程序 时间:
2020-04-04 14:21:49
阅读次数:
80
ez_bypass(代码审计) 1、md5用数组绕过,?id[]=1&gg[]=2,OK 2、is_numeric()用弱类型比较绕过,passwd=1234567a PYwebsite 1、查看源码 访问flag.php 到这我就没思路了,菜啊 2、 bp突然不好使,算了,用火狐X Forward ...
分类:
其他好文 时间:
2020-04-03 21:53:35
阅读次数:
213
API Server简介 Kubernetes API Server提供了K8S各类资源对象(如:pod、RC、Service等)的增删改查及watch等HTTP Rest接口,是整个系统的数据总线和数据中心。 Kubernetes API Server功能如下: Kube apiserver工作原 ...
1. 请求转发 作用: 实现多个servlet联动操作处理请求, 这样避免代码冗余, 让servlet的职责更加明确 使用: request.getRequestDispatcher("路径地址").forward(request, response); 特点: 一次请求, 浏览器地址不改变 注意: ...
分类:
其他好文 时间:
2020-04-02 16:17:34
阅读次数:
74