This file contains 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
# Maintainer: Arley Henostroza <arllk10[at]gmail[dot]com> | |
pkgname=genie-systemd | |
_pkgname=genie | |
pkgver=1.23 | |
pkgrel=3 | |
pkgdesc="A quick way into a systemd \"bottle\" for WSL" | |
arch=('x86_64') | |
url="https://github.com/arkane-systems/genie" | |
license=('custom:The Unlicense') |
This file contains 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
import random | |
def jumble_word(word): | |
# indexes we're going to generate | |
index = [] | |
# until we have the same number of indexes as our word | |
while len(index) < len(word): | |
# our random index | |
rand = random.randint(0, len(word) - 1) |