This commit is contained in:
Jonas_Jones 2023-11-26 17:12:48 +01:00
parent a8af167093
commit d824ec2412
4 changed files with 48 additions and 1 deletions

12
GPR/ue05/README.md.txt Normal file
View file

@ -0,0 +1,12 @@
author: 7987847, Werner
Das Programm ist eine Konsole für das epr_functions Modul.
Zur Nutzung muss eine kompatible Python version installiert sein.
Akzeptiert werden alle Python 3.x Versionen.
Das Programm kann mit dem Befehl `python3 main.py` im Ordner gestartet werden.
Beim Starten des Programms wird der Benutzer aufgefordert einen Hauptstring und einen Substring nacheinander einzugeben.
Das programm gibt den ersten Index aus, bei dem der Substring im Hauptstring vorkommt. Kommt dieser nicht vor, so wird -1 zurückgegeben.