This commit is contained in:
Victor Alexandrovich Tsyrenschikov
2026-02-06 21:08:19 +05:00
parent 31b9779c6a
commit 3cd67ef0b3
2 changed files with 8 additions and 15 deletions

7
f.py
View File

@@ -1,5 +1,2 @@
import re for i in range(2,101,2):
print(i)
str1=open('24_1.txt').read()
result=re.findall(r'B+',str1)
print(max(map(len,result)))

16
one.py
View File

@@ -1,10 +1,6 @@
a=int(input()) wrong = '@&*$/'
s=0;p=1
while a>0: password=input("enter your password")
b=a%10 for i in password:
s=s+b if i in wrong:
if b!=0: print('Запрещенный символ -',i)
p=p*b
a=a//10
print(p)
print(s)