diff --git a/.idea/misc.xml b/.idea/misc.xml index 85992c8..4da632d 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/13/test.py b/13/test.py new file mode 100644 index 0000000..335752b --- /dev/null +++ b/13/test.py @@ -0,0 +1,15 @@ +import math +test_a = "Hallo_Welt" +test_b = "Hell_Planet" + +def slice(txt): + l=len(txt) + for i in range(1,l): + if i<=l: + print(f"{txt[:i+1]} {round(i/2)}" ) + else: + print(txt[i]) + + + +print(slice(test_a))