1、由字符串创建一个作业评分表,做增删改查询统计遍历操作,例如查询第一个3分的下标,统计1分的同学有几个,3分的同学有几个,增删改查等等。
2、字典实例:建立学生学号成绩字典,做增删改查遍历操作。
3.列表,元组,字典,集合的遍历。
4.英文词频统计实例
news = ‘‘‘When I was young I‘d listen to the radio Waiting for my favorite songs When they played I‘d sing along, It make me smile. Those were such happy times and not so long ago How I wondered where they‘d gone. But they‘re back again just like a long lost friend All the songs I love so well. Every shalala every wo‘wo still shines. Every shing-a-ling-a-ling that they‘re starting to sing so fine When they get to the part where he‘s breaking her heart It can really make me cry just like before. It‘s yesterday once more. (Shoobie do lang lang) (Shoobie do lang lang) Looking bak on how it was in years gone by And the good times that had makes today seem rather sad, So much has changed. It was songs of love that I would sing to them And I‘d memorise each word. Those old melodies still sound so good to me As they melt the years away Every shalala every wo‘wo still shines Every shing-a-ling-a-ling that they‘re startingTo sing so fine All my best memorise come back clearly to me Some can even make me cry just like before. It‘s yesterday once more. (Shoobie do lang lang) Every shalala every wo‘wo still shines. Every shing-a-ling-a-ling that they‘re starting to sing so fine Every shalala every wo‘wo still shines. Every shing-a-ling-a-ling that they‘re starting to sing‘‘‘
时间: 2024-10-04 18:29:17