自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

原创 leetcode-解题2018-4-29

1. Two Sumcode:class Solution:    def twoSum(self, nums, target):        for a in range(0,len(nums)):            for b in range(a+1,len(nums)):                if (nums[a]+nums[b]==target):            ...

2018-04-29 23:50:33 94

原创 python编程:从入门到实践-第十一章练习

#-*-coding:utf-8 -*-import unittest'''def City_country(city,country): return (city+" "+country).title()class CityTestCase(unittest.TestCase): def test_City_country(self): cc=City_country(...

2018-04-15 15:03:34 155

原创 python编程:从入门到实践-第十章练习

#10-1with open('learning_python.txt') as lp: l1 = lp.read() print(l1) for i in lp: print(i) l2 = lp.readlines() for i in l2: print(i.strip()) for i in l2: ...

2018-04-08 20:50:56 191

原创 python编程:从入门到实践-第九章练习

#-*-coding:utf-8 -*-# 9-1class Restaurant(): def __init__(self,restaurant_name,cuisine_type): self.restaurant_name=restaurant_name self.cuisine_type=cuisine_type def open_restauran...

2018-04-08 20:50:15 223

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除