промежутое
This commit is contained in:
21
programm1/data_types6.py
Normal file
21
programm1/data_types6.py
Normal 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()
|
||||
|
||||
Reference in New Issue
Block a user