roman_gemini

Function 01

Jun 20th, 2015
336
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.07 KB | None | 0 0
  1. def func(arr):
  2.     return [x * 3 if x % 2 != 0 else x * 2 for x in arr]
Advertisement
Add Comment
Please, Sign In to add comment