Skip to content

Instantly share code, notes, and snippets.

@trsqxyz
Last active December 31, 2015 17:09
Show Gist options
  • Save trsqxyz/8018140 to your computer and use it in GitHub Desktop.
Save trsqxyz/8018140 to your computer and use it in GitHub Desktop.
practice random onliner
from random import *;L=range(10);shuffle(L);L
@trsqxyz
Copy link
Author

trsqxyz commented Dec 18, 2013

import shuffle を import * にするのはいいとしてリストかプリントのところをもっと短くする方法あるのかな?

@trsqxyz
Copy link
Author

trsqxyz commented Dec 18, 2013

print は消してもok リストはどうだろう

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