from django.test import TestCase


# def alphabet_soup(txt):
#     a=list(txt)
#     a.sort()
#     print(a)
#
#
#
# alphabet_soup("привет")


# a='привет'
# a=list(a)
# print(a.reverse())

# def rev(word):
#     if word==word[::-1]:
#         return print(True)
#     else:
#         return print(False)
#
# rev('mom')



# итератор
# def get_extension(lst):
#     result = []
#     for i in lst:
#         i = i.split('.')
#         for b in i[1::]:
#             result.append(b)
#     print(result)
# get_extension(['код.html', 'код.css'])

# генератор

