commit e367596191131418e596f2a6a61ed29ab0f469ee
Author: msnau <79276215+msnau@users.noreply.github.com>
Date: Sun Jul 19 18:56:51 2026 +0200
Alle Daten.
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..26d3352
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,3 @@
+# Default ignored files
+/shelf/
+/workspace.xml
diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml
new file mode 100644
index 0000000..105ce2d
--- /dev/null
+++ b/.idea/inspectionProfiles/profiles_settings.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..bc394fd
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..e15ec35
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/pythonProject.iml b/.idea/pythonProject.iml
new file mode 100644
index 0000000..74d515a
--- /dev/null
+++ b/.idea/pythonProject.iml
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ 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/Kaufladen.py b/Kaufladen.py
new file mode 100644
index 0000000..9112c02
--- /dev/null
+++ b/Kaufladen.py
@@ -0,0 +1,26 @@
+produkt = input('Welches Produkt (Gummibaerchen, Lakritzstangen, Playstation) wünschen Sie?')
+menge = int(input('Welche Menge wünschen Sie?'))
+
+Gummibaerchen = float(0.05)
+Lakritzstangen = float(0.30)
+Playstation = float(199.00)
+
+GBpreis = Gummibaerchen * menge
+LSpreis = Lakritzstangen * menge
+PSpreis = Playstation * menge
+
+match produkt:
+ case 'Gummibaerchen':
+ print ('Netto ohne MwSt: EUR', GBpreis/1.07)
+ print ('MWSt: EUR', GBpreis-GBpreis/1.07)
+ print ('Zu bezahlen: EUR', GBpreis)
+ case 'Lakritzstangen':
+ print ('Netto ohne MwSt: EUR', LSpreis/1.07)
+ print ('MWSt: EUR', LSpreis-LSpreis/1.07)
+ print ('Zu bezahlen: EUR', LSpreis)
+ case 'Playstation':
+ print ('Netto ohne MwSt: EUR', PSpreis/1.07)
+ print ('MWSt: EUR', PSpreis-PSpreis/1.07)
+ print ('Zu bezahlen: EUR', PSpreis)
+ case _:
+ print('Falscher Artikelname!')
\ No newline at end of file
diff --git a/main.py b/main.py
new file mode 100644
index 0000000..1ea1280
--- /dev/null
+++ b/main.py
@@ -0,0 +1,53 @@
+# alter = 18
+# AAge = alter / 2 + 7
+# print(f'Your acceptable age is {AAge}')
+
+# alter = input ('Bitte Alter nennen')
+#alter = int(alter)
+
+#AAge = alter / 2 + 7
+
+#if alter >= 18:
+# AAge = max(18)
+
+
+#print("Your acceptable age is" , AAge)
+
+#vornamen = ['Astjan', 'Knastjan', 'Bombastjan']
+#vornamen += ['Salafastjan', 'Islamastjan']
+#print(vornamen[2].upper())
+
+
+import random
+
+alter = int(input ('Bitte Alter nennen'))
+
+
+if alter >=22:
+ AAge = alter / 2 + 7
+elif alter <=17:
+ AAge = alter / 2 + 7
+elif alter <=21:
+ AAge = 18
+
+if AAge ==18:
+ print("Your acceptable age is atleast", AAge)
+
+elif AAge >=18:
+ print("Your acceptable age is", AAge)
+
+elif AAge <=18:
+ print("Your acceptable age is", AAge)
+
+
+vornamen = ['Astjan', 'Knastjan', 'Bombastjan']
+vornamen += ['Salafastjan', 'Islamastjan']
+
+aname = random.choice(vornamen)
+
+if aname != 'Bombastjan':
+ print(aname)
+
+elif aname == 'Bombastjan':
+ print(aname.upper(), '💥')
+