Chinaunix首页 | 论坛 | 博客
  • 博客访问: 6934
  • 博文数量: 5
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 10
  • 用 户 组: 普通用户
  • 注册时间: 2016-07-01 23:42
文章分类

全部博文(5)

文章存档

2016年(5)

我的朋友
最近访客

发布时间:2016-07-02 01:11:45

python中函数和lambda参数默认值的问题......【阅读全文】

阅读(1451) | 评论(0) | 转发(0)

发布时间:2016-06-06 22:28:06

class Solution(object): def lengthOfLongestSubstring(self, s): charSet=set() lengthList=[] length=0 for c in s: if c not in charSet: charSet.add(c) length+=1 else: lengthList.append(length) .........【阅读全文】

阅读(207) | 评论(0) | 转发(0)

发布时间:2016-06-06 22:27:40

class Solution(object): def lengthOfLongestSubstring(self, s): charSet=set() lengthList=[] length=0 for c in s: if c not in charSet: charSet.add(c) length+=1 else: lengthList.append(length) .........【阅读全文】

阅读(305) | 评论(0) | 转发(0)

发布时间:2016-06-02 22:20:44

#!/usr/bin/python3.5# coding: UTF-8from copy import deepcopyimport matplotlib.pyplot as pltimport numpy as npfrom bisect import bisecttorqueCurve=[]powerCurve=[]#起步转速startRpm=1300class Transmission():    def __init__(self,gears,efficiency=0.9,nowGear=1):  .........【阅读全文】

阅读(630) | 评论(0) | 转发(0)

发布时间:2016-05-30 22:08:48

python模拟汽车加速过程,看扭矩和功率哪个对加速的影响大......【阅读全文】

阅读(508) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册