ruffyen

Untitled

Apr 22nd, 2016
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. throws = "Throws: R, Bats: R"
  2. convert_throws = {'R':'Right', 'L':'Left'}
  3. throws = convert_throws[throws.split(' ')[1].split(',')[0]]
Advertisement
Add Comment
Please, Sign In to add comment