diff --git a/SL_2/s2_a1.py b/SL_2/s2_a1.py new file mode 100644 index 0000000..bd9552f --- /dev/null +++ b/SL_2/s2_a1.py @@ -0,0 +1,9 @@ +class parent: + pass +class child(parent): + pass + +class imbread(parent,child): + pass + +i = imbread() \ No newline at end of file diff --git a/SL_2/s2_a2.py b/SL_2/s2_a2.py new file mode 100644 index 0000000..ecc08c0 --- /dev/null +++ b/SL_2/s2_a2.py @@ -0,0 +1,6 @@ +import re + + +before = "If the the problem is textual, use the the re module" +after = re.sub("the the", "the", before) +print(after) \ No newline at end of file