1
2
3 first = (
4 ('2','WIG')
5 ,('4','HSC')
6 ,('6','passenger')
7 ,('7','cargo')
8 ,('8','tanker')
9 ,('9','other type')
10 )
11
12 second = (
13 ('0','all ships of this type')
14 ,('1','Hazardous catagory A')
15 ,('2','Hazardous catagory B')
16 ,('3','Hazardous catagory C')
17 ,('4','Hazardous catagory D')
18 ,('5','Reserved for future use')
19 ,('6','Reserved for future use')
20 ,('7','Reserved for future use')
21 ,('8','Reserved for future use')
22 ,('9','No additional information')
23 )
24
25 for f in first:
26 for s in second:
27 print '\t<entry key="'+f[0]+s[0]+'">'+f[1]+', '+s[1]+'</entry>'
28