Modularität und Zufallswerte [ID:193] (12/14)

in series: Einführung in die Programmierung mit Python

video tutorial by Lucas Holland and mro, added 04/07

(Showmedo is undergoing major changes. To report any problems viewing the videos please email us and include browser and OS specifics. Cheers - Kyran.)

In dieser Episode geht es um Module und im speziellen um das Modul random, mit dem Zufallswerte erzeugt werden können.

Ausserdem stellen wir ein kleines Script für ein Zahlenratenspiel vor und stellen auch 2 Aufgaben, die in der nächsten Episode aufgelöst werden:

  1. Das Programm soll vor dem Spielen fragen, wie oft das Spiel durchlaufen werden soll.
  2. Das Programm soll mit der Gewinnmeldung ausgeben, wie viele Versuche der Spieler gebraucht hat.

Uploaded on 23rd April 2007, running time 9 minutes.

Got any questions?

Get answers in the ShowMeDo Learners Google Group.

Video statistics:

  • Video's rank shown in the most popular listing
  • Video plays: 17 (since July 30th)
  • Plays in last week: 0
  • Published: 112 months ago

Thank-yous, questions and comments

If this video tutorial was helpful please take some time to say thank-you to the authors for their hard work. Feel free to ask questions. Let the author know why their video tutorial was useful - what are you learning about? Did the video tutorial save you time? Would you like to see more?

You may also want to see our ShowMeDo Google Group to speak to our active users and authors.

Your email address will not be published.

Show some quick comments >>

All comments excluding tick-boxed quick-comments

2. anonymous Mon, 15 Jun 2009 05:56

Sehr informativ

Das mit dem kosmischen Rauschen is ja interessant.

Was etwas vewirrend war, dieser Satz wo einer von euch sowas sagt wie "weil ungleich is dann gleich" oder so. Das Programm hab ich verstanden, aber wäre bei sowas vielleicht cool wenn ihr das mal in nem Debugger oder sowas zeigen könntet.

Haben wir im C-Unterricht manchmal auch gezeigt bekommen weil man sich dann Abfragen bzw. Schleifen besser vorstellen kann wenn man mal "hinein" gesehen hat.

Aber mal wieder super Vid! Danke für die Arbeit! :)

Showmedo is a peer-produced video-tutorials and screencasts site for free and open-source software (FOSS)- with the exception of some club videos, the large majority are free to watch and download.

how to help » about » faq »

Educating the Open-source Community With Showmedo

Although as important as the software it supports, education and documentation are relatively neglected in the Open-source world. Coders love to code, and explaining how best to use or improve the software tends to be deferred or even sidelined.

At Showmedo we believe the community can play a vital role here and also say thanks for the tools and software that make our lives easier. If you have a piece of software you love or a programming langugage you are enthusiastic about, why not make a screencast showing others how to use it? All the stuff you wish you'd been told, the tips, tricks, insights that would have saved you time and frustration.

Screencasting is easier than you think, and we're happy to help you. You can emailus for advice or just use some of the how-to screencasts on the site. This screencasting learning-pathis a good place to start.

Kudos and Thanks for Lucas

Common Part

well nice intro for a beginner

Luceplan Agave Oval Pendant Online Sale
70 months ago
Common Part

Thank you fellow human.

viagra without a doctor prescription
70 months ago


Showmedo's development is fairly rapid and bugs will inevitably creep in. If you have any problems please drop us a line using the contact address below. Likewise, any suggestions for improvements to the site are gratefully received.