The user name and password tabulated mailbox to the end user name q

. 1  Print ( " Enter a username, password, email length can not exceed 20 " )
 2 S = "" 
. 3  the while True:
 . 4      V = INPUT ( " User Name: " )
 . 5      IF V == " Q " :
 . 6          BREAK 
. 7      V = V [0:21 ]
 . 8      V1 = INPUT ( " password: " )
 . 9      V1 = V1 [0:21 ]
 10      V2 = INPUT ( " E-mail: " )
 . 11      V2 V2 = [0:21 ]
12     s1="{0}\t{1}\t{2}\n"
13     s1=s1.format(v,v1,v2)
14     s=s+s1
15 e=s.expandtabs(20)
16 print(e)

 

Guess you like

Origin www.cnblogs.com/rxybk/p/12336335.html