MOOC 《用Python玩转数据》 作业:
# def countchar(str):
# str1 = str.upper()
# list_number = []
# for i in range(26):
# list_number.append(0)
# li = list(str1)
# for i in li:
# for j in range(26):
# if ord(i) == 65 + j:
# list_number[j] += 1
# return list_number
#
#
# if __name__ == "__main__":
# str = input()
# print(countchar(str))
# import urllib.request
#
# for i in range(10):
# r = urllib.request.urlopen('http://tieba.baidu.com/p/100000000%d'%i)
# html = r.read()
# f = open('100000000%d.html'%i,'wb')
# f.write(html)
# f.close()
# my_list = [s.lower() for s in 'Life is short, you need Python.'.split(' ')]
# print('short' in my_list)
# print(my_list[5])
MOOC进度:
51CTO Python进度:
卡在ATM和计算器作业上