#-*- coding: utf-8 -*-
import random,time
# num=input("请输入您的手机号:")
# while True:
#     str="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"
#     n=random.randint(4, 6)
#     yanzhengma=""
#     for a in range(0, n):
#         yanzhengma+=random.choice(str)
#     print(yanzhengma)
#     print("验证码已发送至您的手机,请注意查收.",end="")
#     while True:
#         b = input("\r验证码没收到?输入y重新获取(需等待60秒)否则输入n:")
#         if b == "y":
#             index()
#             zl = input("\r输入n重新获取验证码:")
#         elif b == "n":
#             yzm = input("请输入您收到的验证码:")
#             if yzm == yanzhengma:
#                 print("验证成功")
#                 break
#             else:
#                 print("验证码错误,验证失败")
#     break


