I hereby claim:
- I am vladmos on github.
- I am vladmos (https://keybase.io/vladmos) on keybase.
- I have a public key whose fingerprint is BFCC 7203 3E98 E1CA 50DE A942 D5C1 787E 3BE3 56D7
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
10 This is the song, that never ends | |
20 It just keeps go and go my friends | |
30 Some people started singing it, not knowing what it was | |
40 And now they just can't stop to sing forever just because | |
50 GOTO 10 |
import random | |
def dice_sequence(): | |
while True: | |
yield random.randint(1, 6) | |
def pair(sequence): | |
iterator = iter(sequence) | |
previous, current = iterator.next(), iterator.next() | |
while True: |