2017年9月20日

遍历列表,元组,字典,集合

摘要: 阅读全文

posted @ 2017-09-20 10:38 01-李嘉秀 阅读(152) 评论(0) 推荐(0) 编辑

评分列表

摘要: r =list('03111232011') >>> r ['0', '3', '1', '1', '1', '2', '3', '2', '0', '1', '1'] >>> r.append('4') >>> r ['0', '3', '1', '1', '1& 阅读全文

posted @ 2017-09-20 09:01 01-李嘉秀 阅读(114) 评论(0) 推荐(0) 编辑

2017年9月18日

'webbrowser打开校园新闻列表

摘要: '''webbrowser打开校园新闻列表''' import webbrowser as web web.open_new_tab('http://news.gzcc.cn/html/xiaoyuanxinwen/') 阅读全文

posted @ 2017-09-18 11:16 01-李嘉秀 阅读(114) 评论(0) 推荐(0) 编辑

下载一首英文的歌词或文章,统计单词出现的次数,将所有,.?!替换为空格,将所有大写转换为小写。

摘要: ''' 下载一首英文的歌词或文章,统计单词出现的次数,将所有,.?!替换为空格,将所有大写转换为小写。 ''' sr='''You're ?insecure Don't know what for You're turning heads through the door Don't need make-up to cover up Being the way that you are is e... 阅读全文

posted @ 2017-09-18 11:10 01-李嘉秀 阅读(239) 评论(0) 推荐(0) 编辑

输出十二星座

摘要: for i in range(12): print(chr(9800+i),end="\t") 阅读全文

posted @ 2017-09-18 09:03 01-李嘉秀 阅读(186) 评论(0) 推荐(0) 编辑

2017年9月13日

五星红旗

摘要: from turtle import *fillcolor("yellow")bgcolor("red")color("yellow") #定义goto函数def my_goto(x,y): up() goto(x,y) down() #画大星星my_goto(-600,200)begin_fill 阅读全文

posted @ 2017-09-13 09:54 01-李嘉秀 阅读(124) 评论(0) 推荐(0) 编辑

画一个太阳花

摘要: from turtle import * fillcolor('yellow') begin_fill() while True: forward(200) left(170) if abs(pos())<1: break end_fill() 阅读全文

posted @ 2017-09-13 09:27 01-李嘉秀 阅读(212) 评论(0) 推荐(0) 编辑

用循环画一个靶心

摘要: import turtle for i in range (5): turtle.up() turtle.goto(0,-20*(i+1)) turtle.down() turtle.circle(20*(i+1)) 阅读全文

posted @ 2017-09-13 09:10 01-李嘉秀 阅读(358) 评论(0) 推荐(0) 编辑

2017年9月11日

画一个五星红旗

摘要: 效果如下: 阅读全文

posted @ 2017-09-11 19:51 01-李嘉秀 阅读(298) 评论(0) 推荐(0) 编辑

2017年9月4日

大数据之医疗行业数据分析

摘要: 随着生态环境的污染以及生活饮食安全的隐患越来越严重,人们的健康也越来越被重视,最初,Seton Healthcare是采用IBM最新沃森技术医疗保健内容分析预测的首个客户。该技术允许企业找到大量病人相关的临床医疗信息,通过大数据处理,更好地分析病人的信息。在加拿大多伦多的一家医院,针对早产婴儿,每秒 阅读全文

posted @ 2017-09-04 22:01 01-李嘉秀 阅读(312) 评论(0) 推荐(0) 编辑

导航