- 博客(2)
- 收藏
- 关注
原创 codewars:Convert string to camel case
import string def to_camel_case(text): print text word=list(text) for i in range(0,len(word)-2): if word[i]=='-' or word[i]=='_' or word[i]=='=': word[i+1]=word[i+1].up
2017-11-06 19:24:03 754
原创 笨方法习题43中的游戏场景切换方法记录
import sys from sys import exit class scene(object): def enter(self): exit() class engine(object): def __init__(self,scene_map): self.scene_map=scene_map def play(self):
2017-10-23 11:04:21 351
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人