diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000000000000000000000000000000000000..0ed07dad152a806a45233d66722af9d5ac2e5363 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "python.analysis.autoImportCompletions": false, + "python.analysis.typeCheckingMode": "basic" +} \ No newline at end of file diff --git a/Test cases aufgabe 2 b/Test cases aufgabe 2 new file mode 100644 index 0000000000000000000000000000000000000000..40f1f36b22bb18a872c42158ea62dc884f8268b4 --- /dev/null +++ b/Test cases aufgabe 2 @@ -0,0 +1,10 @@ + +Eingabe eines leeren strings AUSGABE: 0 +Eingabe 1 AUSGABE: 1 +Eingabe 42 AUSGABE: 42 +Eingabe 1,2 AUSGABE: 3 +Eingabe 1,2,3,4 AUSGABE: 10 +Eingabe 1/n2,3 AUSGABE 6 +Eingabe 1,-2,3 AUSGABE "Negative not allowed" +Eingabe -1,-5 AUSGABE "Negative not allowed" +Eingabe //;\n1;2 AUSGABE 3 \ No newline at end of file