11 2019 档案
摘要:客户端 # Authod liguochuan # 客户端 import socket # 声明socket的链接类型 client = socket.socket() # 连接一个地址和端口 client.connect(('localhost', 6969)) #发送bytes数据类型的数据 c
阅读全文
摘要:1 oldboyage = 56 2 count = 0 3 while count < 3: 4 age = int(input("guess age:")) 5 if age == oldboyage : 6 print("yes you got it.") 7 break 8 elif age
阅读全文
摘要:1 name = input("name:") 2 age = input("age:") 3 salary = input("salary:") 4 # 格式化输出的三种形式 5 msg1 = ''' 6 info of %s 7 name:%s 8 age:%s 9 salary:%s 10 '
阅读全文
浙公网安备 33010602011771号