Beginn of S2
parent
d63ea5fd18
commit
037d30f20a
|
@ -0,0 +1,9 @@
|
||||||
|
class parent:
|
||||||
|
pass
|
||||||
|
class child(parent):
|
||||||
|
pass
|
||||||
|
|
||||||
|
class imbread(parent,child):
|
||||||
|
pass
|
||||||
|
|
||||||
|
i = imbread()
|
|
@ -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)
|
Loading…
Reference in New Issue