Advertisement
j7sx

c2b

Sep 7th, 2015
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. #-*- coding: utf-8 -*-
  2.  
  3. c2b={'1':"44", '2':'16'}
  4. cam = (raw_input('input cvs number: ')).split(',')
  5. print 'in bastion: '
  6. for i in cam:
  7.         i = i.strip()
  8.         if i in c2b.keys():
  9.             print c2b.get(i)+',',
  10. raw_input('')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement