fix a double Eurozahl

This commit is contained in:
Désiré Werner Menrath 2024-08-04 18:18:36 +02:00
parent 7bb6a06376
commit c35c16c6c5
4 changed files with 12 additions and 3 deletions

View File

@ -4,7 +4,7 @@
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.venv" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="jdk" jdkName="Python 3.12" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@ -3,5 +3,5 @@
<component name="Black">
<option name="sdkName" value="Python 3.12 (übungen)" />
</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>

6
.idea/vcs.xml Normal file
View 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>

View File

@ -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):