промежутое

This commit is contained in:
2025-12-05 11:48:13 +05:00
parent 30647281a5
commit dcb80ef973
48 changed files with 1190 additions and 0 deletions

21
programm1/data_types6.py Normal file
View File

@@ -0,0 +1,21 @@
def main():
team = input("Введите название команды: ").strip()
print(f"{team} - чемпион!")
print('-' * len(team))
lower = team.lower()
print(lower)
print(len(team))
print('п' in lower)
print(lower.count('а'))
main()