123 reputation
1 9

GabLeRoux

I'm a programer, I speak french, english and python. Read my stuff on gableroux.com

#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sys, random, math


def main():
    g = lambda x: ["s" for s in xrange(x)]
    h = lambda y, z: (random.randint(y, z))
    psss = ["p"] + g(h(5, 10)) + [","] + ["t"] + g(h(8, 12))
    for sound in psss:
        print(sound),


if __name__ == "__main__":
    sys.exit(main())
Stack Overflow Careers profile

Top Tags (7)

Score 5
Posts 1
Posts % 33
Score 5
Posts 1
Score 1
Posts 1
Score 1
Posts 1
Score 0
Posts 1
Score 0
Posts 1

Top Posts (3) All Questions Answers | Votes Newest

Badges (10)

Gold
Silver 1

Rarest

Bronze 9

Rarest