Skip to content

Commit baa4852

Browse files
authored
Update Day 6.md
1 parent 25dd934 commit baa4852

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Status/Day 6.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,17 +153,18 @@ for i in s:
153153
print(",".join(lst))
154154
```
155155

156-
**OR**
156+
---
157157

158-
'''python
158+
```python
159+
'''Solution by: pratikb0501
160+
'''
159161
import re
160-
161162
a = input('Enter passwords: ').split(',')
162163
pass_pattern = re.compile(r"^(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=.*[$#@]).{6,12}$")
163164
for i in a:
164165
if pass_pattern.fullmatch(i):
165166
print(i)
166-
'''
167+
```
167168

168169
---
169170

0 commit comments

Comments
 (0)