Skip to content

Instantly share code, notes, and snippets.

@jcouyang
Last active December 21, 2015 22:38
Show Gist options
  • Save jcouyang/6376327 to your computer and use it in GitHub Desktop.
Save jcouyang/6376327 to your computer and use it in GitHub Desktop.
[x/2 for x in range(2,10,2)]
@zhywang
Copy link

zhywang commented Aug 29, 2013

scala without jiecao...

2 to(10,2) map(_/2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment