Last active
September 6, 2016 20:38
-
-
Save LudwikJaniuk/7b1e4e56017f5fb74584a8b884809396 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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