发布时间:2021-04-30 16:28:27
import arrayimport numbersimport functoolsimport operatorimport mathimport itertoolsimport reprlibclass VectorN(): typeCode = 'd' attrStr = "xyzt" def __init__(self, iterable): &nb.........【阅读全文】
发布时间:2021-04-29 16:57:33
# -*- coding:utf-8 -*-from flask import Flask, render_template, render_template_string, requestimport taxfrom jinja2 import Templateimport reapp = Flask(__name__)flag = 1@app.route('/cal', methods=['GET'])def cal_tax() -> 'html': try:&.........【阅读全文】
发布时间:2021-04-28 17:00:04
def reverse_list(lst): """ 准换列表的先后顺序 :param lst: 原始列表 :return: 新的列表 """ return [ele for ele in reversed(lst)]low_li.........【阅读全文】
发布时间:2021-04-27 17:13:02
package com.kd.opt.service.impl;import com.kd.opt.entity.Food;import com.kd.opt.service.FoodService;import org.slf4j.Logger;import org.slf4j.LoggerFactory;import org.springframework.stereotype.Service;import java.util.ArrayList;import java.util.List;/** * .........【阅读全文】
发布时间:2021-04-26 17:10:50
#!python2#!coding:utf-8import xml.etree.ElementTree as ETdef PrintXml(root): print root.tag, root.attrib, root.text for elem in root: PrintXml(elem)def ReadAndIterXml(root):.........【阅读全文】