Commit 01f60e4e by BellCodeEditor

auto save

parent 50c29527
This diff is collapsed. Click to expand it.
File added
print(type(111B))
\ No newline at end of file
# total=0
# a=[]
# for i in range(100,1000):
# if i%3==2 or i%5==3 or i%7==2:
# a.append(i)
# total+=1
# print('这群小朋友总的人数有:')
# for j in range(len(a)):
# print(a,end='、')
# print('')
# print('可能情况数为:',total,'种')
# while True:
# n=input('123456...... or q :')
# if n=='q':
# print('程序结束')
# exit()
# try:
# n=int(n)
# except:
# print('请输入数字 or q(退出)!!!')
# else:
# a=[]
# for i in range(1,n+1):
# if i%7==0 or i/10==7 or i-i//10==7:
# print(i,end=' ')
\ No newline at end of file
...@@ -10,8 +10,8 @@ i=Image.open('bell.png') ...@@ -10,8 +10,8 @@ i=Image.open('bell.png')
v=np.array(i) v=np.array(i)
d=wordcloud.ImageColorGenerator(v) d=wordcloud.ImageColorGenerator(v)
sssss=['的','python','和','基本','程序'] sssss=['的','python','和','基本','程序']
w=wordcloud.WordCloud(background_color='skyblue', w=wordcloud.WordCloud(background_color='black',
font_path='SimHei.ttf', font_path='SIMYOU.TTF',
mask=v,color_func=d, mask=v,color_func=d,
stopwords=sssss,max_font_size=60) stopwords=sssss,max_font_size=60)
w.generate(l) w.generate(l)
......

192 KB | W: | H:

229 KB | W: | H:

sb.png
sb.png
sb.png
sb.png
  • 2-up
  • Swipe
  • Onion skin
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment