PASTEBIN | #1 paste tool since 2002 create new paste tools api archive faq PASTEBIN create new paste trending pastes sign up login my alerts my settings my profile Want more features on Pastebin? Sign Up , it's FREE! Public Pastes rules 2 sec ago Untitled 11 sec ago Untitled 9 sec ago Untitled 17 sec ago Untitled 18 sec ago Untitled 25 sec ago Untitled Lua | 31 sec ago Untitled 35 sec ago By: a guest on Feb 12th, 2015 | syntax: None | size: 0.46 KB | views: 18 | expires: Never download | raw | embed | report abuse | print Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac) from random import random envs = [1, 2] swapping = 0 staying = 0 for x in xrange(1000000): if random() <= .5: envs.reverse() if random() <= .5: swapping += envs[1] else: swapping +=...