We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2519b6f commit 91c2bb7Copy full SHA for 91c2bb7
NP102.py
@@ -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