hotfix: 208A regex
This commit is contained in:
parent
cbaa75a67e
commit
00391d0376
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
import re
|
||||
|
||||
s = input()
|
||||
s = re.sub(r"WUB*", " ", s)
|
||||
s = ' '.join(s.split(' '))
|
||||
s = re.sub(r"WUB", " ", s)
|
||||
s = ' '.join([c for c in s.split(' ') if c != ''])
|
||||
|
||||
print(s)
|
||||
|
|
Loading…
Reference in a new issue