< Kurs:Python < Material < Scripts
Ein einfacher Würfel (Zufallszahl zwischen 1 und 6):
import random
print "Eine Zahl zwischen 1 und 6 ist:", random.randint(1,6)
Schwachsinn, der Sinn des schwachen Mannes
This article is issued from Wikiversity. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.