Merge remote-tracking branch 'origin/master'
This commit is contained in:
Generated
+11
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="PYTHON_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
<component name="TestRunnerService">
|
||||
<option name="PROJECT_TEST_RUNNER" value="Unittests" />
|
||||
</component>
|
||||
</module>
|
||||
+10
-2
@@ -1,2 +1,10 @@
|
||||
test = 2
|
||||
print(test)
|
||||
Produkte = ["melone","orange","ananas"]
|
||||
Woerterbuch = {"melone":8,"orange":88, "ananas":888}
|
||||
#print (Woerterbuch)
|
||||
#for produkt in Produkte:
|
||||
# print (Produkt)
|
||||
#
|
||||
zaehler = (int(input("Wähle eine Zahl")))
|
||||
while zaehler <= 10:
|
||||
print (zaehler)
|
||||
zaehler = zaehler + 1
|
||||
@@ -0,0 +1,26 @@
|
||||
# print("Projekttage")
|
||||
# name = input("Was ist dein Name? ")
|
||||
# alter = int(input("Wie alt bist du? "))
|
||||
# print(name)
|
||||
# print(alter)
|
||||
#
|
||||
# if alter >= 18:
|
||||
# print("Sie sind älter als 17")
|
||||
# elif alter <= 10:
|
||||
# #Du bist jünger als 11
|
||||
# print("Du bist jünger als 11")
|
||||
#
|
||||
# else:
|
||||
# print("Du bist zwischen 11 und 17 Jahre alt")
|
||||
|
||||
Produkte = ["Apfel", "Birne", "Banane", "Ananas"]
|
||||
#print(Produkte[-3])
|
||||
woerterbuch = {"Apfel":1, "Birne":2, "Banane":34}
|
||||
#print(woerterbuch["Banane"])
|
||||
#for produkt in Produkte:
|
||||
# print(produkt)
|
||||
zaehler = 0
|
||||
while True:
|
||||
print(zaehler)
|
||||
zaehler = zaehler + 1
|
||||
|
||||
Reference in New Issue
Block a user