fix a double Eurozahl
This commit is contained in:
parent
7bb6a06376
commit
c35c16c6c5
2
.idea/Lotto.iml
generated
2
.idea/Lotto.iml
generated
@ -4,7 +4,7 @@
|
|||||||
<content url="file://$MODULE_DIR$">
|
<content url="file://$MODULE_DIR$">
|
||||||
<excludeFolder url="file://$MODULE_DIR$/.venv" />
|
<excludeFolder url="file://$MODULE_DIR$/.venv" />
|
||||||
</content>
|
</content>
|
||||||
<orderEntry type="inheritedJdk" />
|
<orderEntry type="jdk" jdkName="Python 3.12" jdkType="Python SDK" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
</component>
|
</component>
|
||||||
</module>
|
</module>
|
2
.idea/misc.xml
generated
2
.idea/misc.xml
generated
@ -3,5 +3,5 @@
|
|||||||
<component name="Black">
|
<component name="Black">
|
||||||
<option name="sdkName" value="Python 3.12 (übungen)" />
|
<option name="sdkName" value="Python 3.12 (übungen)" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.12 (übungen)" project-jdk-type="Python SDK" />
|
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.12" project-jdk-type="Python SDK" />
|
||||||
</project>
|
</project>
|
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
5
main.py
5
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.
|
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))
|
||||||
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):
|
def counts_lotto(uentry):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user