自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Python刷题笔记(5)- 秒转化为时间

题目: Write a function, which takes a non-negative integer (seconds) as input and returns the time in a human-readable format (HH:MM:SS) HH = hours, padded to 2 digits, range: 00 - 99MM = minute

2015-11-24 11:36:59 614

原创 Python刷题笔记(5) - 判断“幸运数”

题目: In some countries of former Soviet Union there was a belief about lucky tickets. A transport ticket of any sort was believed to posess luck if sum of digits on the left half of its number was

2015-11-20 16:41:10 2300

原创 Python刷题笔记(4)- 字符串重组

题目: Complete the method/function so that it converts dash/underscore delimited words into camel casing. The first word within the output should be capitalized only if the original word was capitali

2015-11-19 10:32:00 938

原创 Python刷题笔记(3)- 16进制和ascii码互转

今天看了下等级标示,原来kyu上面还有dan的等级,升级路漫漫,今天是5kyu题目 题目: Write a module Converter that can take ASCII text and convert it tohexadecimal. The class should also be able to take hexadecimal andconvert it to A

2015-11-18 17:19:12 4283 1

原创 Python刷题笔记(2)- 取5位大数字

又到codewar每日刷题时刻,今天抽到的题依旧是难度5 题目: In the following 6 digit number: 283910 91 is the greatest sequence of 2 digits. Complete the solution so that it returns the largest five digit number found

2015-11-17 11:22:17 1189

原创 Python刷题笔记(1)- 数独判断

虽然脱离了码农行列,但是觉得写代码这个技能,每个人都应该会一点,而且最近突然有兴趣学习起python,恰好朋友提到codewar以打怪练级的形式来刷题熟练技能,于是就去玩了,感觉这种方式确实比较有成就感,而且不同等级对应不同难度,刚好适合我这种新手学习。为了能有所成长,就决定写写笔记,把想法和心得记录一番,希望能坚持和有所提高(虽然之前的学习计划都坑掉了。。 目前的等级是6(数字越低等级越高,最

2015-11-16 16:50:30 2257

空空如也

空空如也

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

TA关注的人

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