Преглед изворни кода

Lottospiel wurde ueberarbeitet

Max пре 5 година
родитељ
комит
77002f56c5
1 измењених фајлова са 4 додато и 2 уклоњено
  1. 4 2
      Lotto.py

+ 4 - 2
Lotto.py

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