Browse Source

Lottospiel wurde ueberarbeitet

Max 5 years ago
parent
commit
77002f56c5
1 changed files with 4 additions and 2 deletions
  1. 4 2
      Lotto.py

+ 4 - 2
Lotto.py

@@ -8,7 +8,9 @@ for a in range (6):
 	if zahl not in list:
 	if zahl not in list:
 		zahl=r.randint(1,49)
 		zahl=r.randint(1,49)
 		list.append(zahl)
 		list.append(zahl)
-print list
-
+a=0
+while a <len(list):
+	print list[a]
+	a=a+1
 szahl=r.randint(1,10)
 szahl=r.randint(1,10)
 print szahl
 print szahl