Python使用字典实现的简单记事本功能示例

时间:2020-12-31 06:50:04
【文件属性】:
文件名称:Python使用字典实现的简单记事本功能示例
文件大小:39KB
文件格式:PDF
更新时间:2020-12-31 06:50:04
date python python函数 本文实例讲述了Python使用字典实现的简单记事本功能。分享给大家供大家参考,具体如下: from time import sleep, strftime user = Cytus calendar = {} def welcome(): print Welcome to use this calendar. %s % user print Calendar is opening. sleep(1) print strftime(%A %B %d %Y) print strftime(%H:%M:%S) sleep(1) print What

网友评论