diff --git a/.idea/Lotto.iml b/.idea/Lotto.iml index 2c80e12..6cb8b9a 100644 --- a/.idea/Lotto.iml +++ b/.idea/Lotto.iml @@ -4,7 +4,7 @@ - + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index 58e279f..af1ca7f 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -3,5 +3,5 @@ - + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/main.py b/main.py index 465227e..49c2c45 100755 --- a/main.py +++ b/main.py @@ -22,7 +22,10 @@ def euro_jack(): numstr = [str(x) for x in numbers] # Hier wird mit list comprehension die Integer in String umgewandelt. supernum.append(random.randint(1, 12)) supernum.append(random.randint(1, 12)) - print(numstr, " Eurozahlen: ", supernum) + if supernum[0] != supernum[1]: + print(numstr, " Eurozahlen: ", supernum) + else: + euro_jack() def counts_lotto(uentry):