自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 PY4E Chapter10 Exercise

PY4E Chapter10 Exercise 1: Revise a previous program as follows: Read and parse the “From” lines and pull out the addresses from the line. Count the number of messages from each person using a diction...

2019-03-24 14:13:14 1017

原创 PY4E Chapter9 Exercise

Exercise 2: Write a program that categorizes each mail message by which day of the week the commit was done. To do this look for lines that start with “From”, then look for the third word and keep a r...

2019-02-11 15:51:44 1013

原创 PY4E Chapter8 Exercise

exercise4 Enter file: romeo.txt [‘Arise’, ‘But’, ‘It’, ‘Juliet’, ‘Who’, ‘already’, ‘and’, ‘breaks’, ‘east’, ‘envious’, ‘fair’, ‘grief’, ‘is’, ‘kill’, ‘light’, ‘moon’, ‘pale’, ‘sick’, ‘soft’, ‘sun’, ‘...

2019-01-28 23:10:47 969

原创 PY4E Chapter7 Exercise

Exercise 1 Write a program to read through a file and print the contents of the file (line by line) all in upper case. Executing the program will look as follows: python shout.py Enter a file name: m...

2019-01-27 23:19:22 1096

原创 PY4E Chapter6 Exercise

**py4e chapter6 exercise3 Assignment Encapsulate this code in a function named count, and generalize it so that it accepts the string and the letter as arguments.** word = input('Please input a word...

2019-01-26 23:03:54 325

空空如也

空空如也

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

TA关注的人

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