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
str1=open('24_1.txt').read()
result=re.findall(r'B+',str1)
print(max(map(len,result)))
for i in range(2,101,2):
print(i)

16
one.py
View File

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