<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Matrix_Wall]]></title><description><![CDATA[我拿着把旧钥匙，敲着厚厚的墙]]></description><link>https://blog.youkuaiyun.com/JohnsJee</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; JohnsJee]]></copyright><item><title><![CDATA[Learn Python The Hard Way-Ecercise36~40]]></title><link>https://blog.youkuaiyun.com/JohnsJee/article/details/18769031</link><guid>https://blog.youkuaiyun.com/JohnsJee/article/details/18769031</guid><author>JohnsJee</author><pubDate>Sat, 25 Jan 2014 21:23:42 +0800</pubDate><description><![CDATA[Exercise36：设计和调试


Exercise37：复习各种符号


Exercise38：列表的操作



ten_things = "Apples Oranges Crows Telephone Light Sugar"

print "Wait there's not 10 things in that list, let's fix that."

stuff]]></description><category></category></item><item><title><![CDATA[Learn Python The Hard Way-Ecercise31~35]]></title><link>https://blog.youkuaiyun.com/JohnsJee/article/details/18768695</link><guid>https://blog.youkuaiyun.com/JohnsJee/article/details/18768695</guid><author>JohnsJee</author><pubDate>Sat, 25 Jan 2014 15:30:46 +0800</pubDate><description><![CDATA[Exercise31：作出决定


print "You enter a dark room with two doors.  Do you go through door #1 or door #2?"

door = raw_input("> ")

if door == "1":
	print "There's a giant bear here eating a cheese cak]]></description><category></category></item><item><title><![CDATA[Learn Python The Hard Way-Ecercise26~30]]></title><link>https://blog.youkuaiyun.com/JohnsJee/article/details/18768241</link><guid>https://blog.youkuaiyun.com/JohnsJee/article/details/18768241</guid><author>JohnsJee</author><pubDate>Sat, 25 Jan 2014 15:14:03 +0800</pubDate><description><![CDATA[Exercise26：恭喜你，你现在可以考试了！


def break_words(stuff):
    """This function will break up words for us."""
    words = stuff.split(' ')
    return words

def sort_words(words):
    """Sorts the words."]]></description><category></category></item><item><title><![CDATA[Learn Python The Hard Way-Ecercise21~25]]></title><link>https://blog.youkuaiyun.com/JohnsJee/article/details/18768091</link><guid>https://blog.youkuaiyun.com/JohnsJee/article/details/18768091</guid><author>JohnsJee</author><pubDate>Sat, 25 Jan 2014 14:58:10 +0800</pubDate><description><![CDATA[Exercise21：函数可以返回东西


def add(a, b): #定义四则运算的函数
	print "ADDING %d + %d" % (a, b)
	return a + b

def subtract(a, b):
	print "SUBTRACTING %d - %d" % (a, b)
	return a - b

def multiply(a, b):
	print "]]></description><category></category></item><item><title><![CDATA[Learn Python The Hard Way-Ecercise16~20]]></title><link>https://blog.youkuaiyun.com/JohnsJee/article/details/18767353</link><guid>https://blog.youkuaiyun.com/JohnsJee/article/details/18767353</guid><author>JohnsJee</author><pubDate>Sat, 25 Jan 2014 14:43:26 +0800</pubDate><description><![CDATA[Exercise16：读写文件


from sys import argv

script, filename = argv #创建的文件名

print "We're going to erase %r." % filename
print "If you don't want that, hit CTRL-C (^C)."
print "If you do want that, hit]]></description><category></category></item><item><title><![CDATA[Learn Python The Hard Way-Ecercise11~15]]></title><link>https://blog.youkuaiyun.com/JohnsJee/article/details/18766145</link><guid>https://blog.youkuaiyun.com/JohnsJee/article/details/18766145</guid><author>JohnsJee</author><pubDate>Sat, 25 Jan 2014 13:28:49 +0800</pubDate><description><![CDATA[Exercise11: 提问
print "How old are you?",
age = raw_input()
print "How tall are you?",
height = raw_input()
print "How much do you weight?",
weight = raw_input()

print "So, you're %r old, %r tall and]]></description><category></category></item><item><title><![CDATA[Learn Python The Hard Way-Ecercise6~10]]></title><link>https://blog.youkuaiyun.com/JohnsJee/article/details/18764597</link><guid>https://blog.youkuaiyun.com/JohnsJee/article/details/18764597</guid><author>JohnsJee</author><pubDate>Sat, 25 Jan 2014 11:58:24 +0800</pubDate><description><![CDATA[Exercise6：字符串和文本


x = "There are %d types of people." %10
binary = "binary"
do_not = "don't"
y = "Those who know %s and those who %s." %(binary, do_not)

print x
print y

print "I said: %r." %x
pr]]></description><category></category></item><item><title><![CDATA[Learn Python The Hard Way-Ecercise1~5]]></title><link>https://blog.youkuaiyun.com/JohnsJee/article/details/18504905</link><guid>https://blog.youkuaiyun.com/JohnsJee/article/details/18504905</guid><author>JohnsJee</author><pubDate>Sun, 19 Jan 2014 16:51:58 +0800</pubDate><description><![CDATA[Exercise1：第一个程序


print "Hello World!"
print "Hello Again"
print "I like typing this."
print "This is fun."
print "Yay! Printing."
print "I'd much rather you 'not'."
print 'I "said" do not touch th]]></description><category></category></item><item><title><![CDATA[Learn Python The Hard Way-笨方法学Python]]></title><link>https://blog.youkuaiyun.com/JohnsJee/article/details/18504301</link><guid>https://blog.youkuaiyun.com/JohnsJee/article/details/18504301</guid><author>JohnsJee</author><pubDate>Sun, 19 Jan 2014 15:43:54 +0800</pubDate><description><![CDATA[在寒假之前就已经有自学Python的想法，这次也没有着急去图书馆借一大堆书回来看，因为每次放假从图书馆借的书回家后都没怎么碰……


在知乎关于 Python 的经典入门书籍有哪些？上有人推荐Learn Python The Hard Way这个网站，网站的作者Zed.A.Shaw把Python的学习分成了50几个小的练习来进行，虽说是第一次碰到这种学习方式，但从期末考试的应试经验来讲，一边]]></description><category></category></item><item><title><![CDATA[简单枚举---从一数组中任取n个元素]]></title><link>https://blog.youkuaiyun.com/JohnsJee/article/details/17071945</link><guid>https://blog.youkuaiyun.com/JohnsJee/article/details/17071945</guid><author>JohnsJee</author><pubDate>Mon, 02 Dec 2013 14:25:19 +0800</pubDate><description><![CDATA[在解决POJ753-Flip Games之前，我们先来看这样一个问题：
给出一个数组a[6]={1,2,3,4,5,6}，求从中任取n个元素的所有组合。
如果任取1个元素，那么组合是：1  ，2  ，3  ，4  ，5 ，6。
如果任取2个元素，那么组合是：1 2，1 3，1 4，1 5，1 6。
   2 3，2 4，2 5，2 6。
   3 4，3 5，3 6。
   4 5，4]]></description><category></category></item><item><title><![CDATA[POJ2965-The Pilots Brothers' refrigerator]]></title><link>https://blog.youkuaiyun.com/JohnsJee/article/details/17005329</link><guid>https://blog.youkuaiyun.com/JohnsJee/article/details/17005329</guid><author>JohnsJee</author><pubDate>Thu, 28 Nov 2013 14:13:14 +0800</pubDate><description><![CDATA[Description


The game “The Pilots Brothers: following the stripy elephant” has a quest where a player needs to open a refrigerator.
There are 16 handles on the refrigerator door. Every handle can]]></description><category></category></item><item><title><![CDATA[暴力求解法--简单枚举]]></title><link>https://blog.youkuaiyun.com/JohnsJee/article/details/16944511</link><guid>https://blog.youkuaiyun.com/JohnsJee/article/details/16944511</guid><author>JohnsJee</author><pubDate>Tue, 26 Nov 2013 12:37:44 +0800</pubDate><description><![CDATA[=_=转眼已经大二了，大一的时候浪费了很多时间，折腾了一溜够后，痛定思痛，打算向林文学长学习，从C语言+数据结构+算法入手，打好基础，练好基本功并积累一定的代码量，为以后的学习做好准备。当然了，现在说的想的都还很肤浅，等时间充裕了后再静下心来慢慢梳理。
在刚刚开始准备学习些算法之前，网络上很多算法进阶攻略都会建议先从一些简单的基本算法着手入门（），其中包括“枚举·贪心·递归和分治·递推·构造·模]]></description><category></category></item></channel></rss>