#单向链表的连接
import sys
import random
def concatlist(ptr1,ptr2):
ptr=ptr1
while ptr.next!=None:
ptr=ptr.next
ptr.next=ptr2
return ptr1
class employee:
def __init__(self):
self.num=0
self.salary=0
self.name=''
self.next=None
data=[[None]*2 for row in range(12)]
namedata1=['Allen','Scott','Marry','John','Mark','Ricky','Lisa','Jasica','Hanson','Amy','Bob','Jack']
namedata2=['May','John','Michal','Andy','Tom','Jane','Yoko','Axel','Alex','Judy','Kelly','Lucy']
for i in range(12):
data[i][0]=i+1
data[i][1]=random.randint(51,100)
head1=