摘要: for i in range(1,10): for j in range(1,i+1): print('%s * %s = %s ' %(i,j,i*j),end="") print() print('\n'.join(['\t'.join(["%2s*%2s=%2s"%(j,i,i*j) for j in range(1,i+1)]) for i in r... 阅读全文
posted @ 2018-08-30 21:29 Hear7 阅读(681) 评论(0) 推荐(0) 编辑
摘要: HTML介绍 Web服务本质 import socket sk = socket.socket() sk.bind(("127.0.0.1", 8080)) sk.listen(5) while True: conn, addr = sk.accept() data = conn.recv(8096 阅读全文
posted @ 2018-08-30 21:24 Hear7 阅读(380) 评论(0) 推荐(0) 编辑