About me | 关于我

1
2
3
4
5
6
7
8
9
10
11
12
13
# 方法一
keys = ['name', 'gender', 'age']
dic = {}
for key in keys:
dic[key] = None
print(dic)
# >>>{'name': None, 'gender': None, 'age': None}

# 方法二
dic1 = {}.fromkeys(keys, None)
print(dic1)
# >>>{'name': None, 'gender': None, 'age': None}

1
2
3
4
5
6
7
8
9
10
gantt
dateFormat YYYY-MM-DD
title Adding GANTT diagram to mermaid
excludes weekdays 2014-01-10

section A section
Completed task :done, des1, 2014-01-06,2014-01-08
Active task :active, des2, 2014-01-09, 3d
Future task : des3, after des2, 5d
Future task2 : des4, after des3, 5d
  • Software Development Engineer 软件开发工程师

    If you need someone to develop Website, Mini Program, Mobile APP and Desktop APP, then I hope we can work together.
    如果你需要找人开发网站、小程序、手机 APP 和桌面 APP,那么希望我们能达成合作。

    You can find my contact information in below.
    你可以在下方找到我的联系方式。

  • 《自由程序猿》公众号作者

    如果你有 IT 领域原创好文,欢迎投稿,一经采用,将支付稿费酬谢。

Contact me | 联系我

  • GitHub | XPoet

  • WeChat | 关注公众号@自由程序猿,添加博主微信,我们就是好朋友啦~

    image

Open source projects | 开源项目

Comments