Skip to content

Instantly share code, notes, and snippets.

@LudwikJaniuk
Last active September 6, 2016 20:38
Show Gist options
  • Save LudwikJaniuk/7b1e4e56017f5fb74584a8b884809396 to your computer and use it in GitHub Desktop.
Save LudwikJaniuk/7b1e4e56017f5fb74584a8b884809396 to your computer and use it in GitHub Desktop.
mynt = random.randint(0,1)
if ( mynt == 0 ):
krona=krona + 1
else:
klave+=1
# kan ersättas med
mynt = random.randint(0,1)
myntIsKrona = mynt == 0
if ( myntIsKrona ):
krona=krona + 1
else:
klave+=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment