Skip to content

Commit 91c2bb7

Browse files
authored
Create NP102.py
1 parent 2519b6f commit 91c2bb7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

NP102.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import re
2+
3+
s = input()
4+
result = re.sub(r"[^x(\d)]", "", s)
5+
print(result)

0 commit comments

Comments
 (0)