Moin!
This commit is contained in:
Generated
+4
-2
@@ -1,8 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="PYTHON_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<excludeFolder url="file://$MODULE_DIR$/venv" />
|
||||
</content>
|
||||
<orderEntry type="jdk" jdkName="Python 3.7 (Projekttage)" jdkType="Python SDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
<component name="TestRunnerService">
|
||||
|
||||
Generated
+1
-1
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.7" project-jdk-type="Python SDK" />
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.7 (Projekttage)" project-jdk-type="Python SDK" />
|
||||
</project>
|
||||
@@ -1,7 +0,0 @@
|
||||
wette = (int(input("Wähle eine Zahl zwischen 1 und 10!")))
|
||||
if wette > 10:
|
||||
print("Deine Zahl ist zu hoch!")
|
||||
|
||||
wahr = 8
|
||||
if wette == wahr:
|
||||
print("Super! Richtig!")
|
||||
+12
-1
@@ -1 +1,12 @@
|
||||
|
||||
import random
|
||||
geheimzahl = random.randrange (40)
|
||||
eingabe = 0
|
||||
while eingabe != geheimzahl:
|
||||
eingabe = int(input("Bitte geben Sie eine Zahl ein:"))
|
||||
if eingabe > geheimzahl:
|
||||
print("Leider falsch. Ihre Eingabe ist größer als die Geheimzahl. :-(")
|
||||
if eingabe < geheimzahl:
|
||||
print("Leider falsch. Ihre Eingabe ist kleiner als die Geheimzahl. :-(")
|
||||
print("Herzlichen Glückwunsch! Sie haben die richtige Zahl ausgewählt!")
|
||||
geheimzahl = str(geheimzahl)
|
||||
print("Ihre Geheimzahl war "+geheimzahl+"!")
|
||||
+2
-1
@@ -1,2 +1,3 @@
|
||||
Mir fällt nix ein
|
||||
moin
|
||||
moin
|
||||
moin!
|
||||
Reference in New Issue
Block a user