摘要: from turtle import * hideturtle() for i in range(12): color("red") circle(120, 30) color("yellow") begin_fill() right(60) fd(80) right(60) fd(80) righ 阅读全文
posted @ 2021-08-01 15:36 Hi,小董先生 阅读(257) 评论(0) 推荐(0)
摘要: # 输出单词在文章中首次出现时该单词的首字母的位置(下标)和单词出现的频率。(只考虑空格和英文字符) word = input().lower() text = input().lower() string = "" index = -1 number = 0 first_word = True f 阅读全文
posted @ 2021-08-01 11:48 Hi,小董先生 阅读(66) 评论(0) 推荐(0)