Skip to content

Instantly share code, notes, and snippets.

@belovachap
Last active December 29, 2020 16:53
Show Gist options
  • Save belovachap/17d89810abe7aed9e8b2c0be75c626f6 to your computer and use it in GitHub Desktop.
Save belovachap/17d89810abe7aed9e8b2c0be75c626f6 to your computer and use it in GitHub Desktop.
The Daily Peercoin Lottery
# -*- coding: utf-8 -*-
import random
PEOPLE = [
'abha',
'backpacker',
'Bora',
'BoxWallet',
'CalmDownDavid',
'captainbuckkets',
'ʎzɐɹƆ',
'cryptogateways.space',
'Cybnate',
'erex12',
'Geek0 | BestMiner.eu Mining Pool',
'germain',
'gigamesh',
'dirkmirk',
'Irritant',
'jdoerrerstl1977',
'Johngt',
'johnwhitestar',
'KabirWearsAToga',
'Marco86p',
'MattyInnit',
'Maxvegra',
'Nagalim',
'NobFox',
'NPC',
'NXTFirst',
'peerchemist',
'Peer Haus',
'prepa.xdn',
'Satichi',
'saeveritt',
'Sentinelrv',
'sunnyking',
'surfboy',
'swiftyswiftyPPC',
'teek',
'Terrik',
'willy',
'zhang',
]
amount = input('How many have you minted recently? ')
rng = random.SystemRandom()
person = rng.choice(PEOPLE)
fmt = '$tip @{} {} PPC for winning the lottery :tada: :peercoin: :tada:'
print(fmt.format(person, amount))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment