Posts tagged python

flexible dice

# A flexible dice that can help you making decisions import random print(“Please insert your choices, press enter and make the dices roll with \”end\”") Options = [] while “end” not in Options: Options.append(raw_input(“”)) Options.remove(“end”) zufallssumme = len(Options) zufallszahl = random.randrange(zufallssumme) print “The dice tells you: “, Options[zufallszahl] Finally, it’s done. I’ve played with the [...]

coding

Since I always was focussed on design I decided that my lousy skills needed some work on them. I started nosing around about the topic and found things I could use. The site freetechbooks.com offers a lot of free documents containing computer science and programming. The ebook I am reading right now is written as [...]