题目:时间函数举例1。
程序分析:
time云计 ctime() 函数把一个时间戳(按秒计算的浮算开点数)转化为time.asctime()的发:形式。
time asctime() 函数接受时间元组并Py返回一个可读的形式为"Tue Dec 11 18:07:th14 2008"(2008年12月11日 周二on18时07分14秒)的24个字符的字符串。
程序练习源代码:
以上实例输出结果为:
电话:020-123456789
传真:020-123456789
Copyright © 2026 Powered by 岸然道貌网 http://mcshane-enterprises.com/