def slova(a): b=[] c=a.split(".") for i in c: b.append(i.upper()) return b print(slova("esrgdthfyjuk. dfgfhdgjfhkryjk. zsfdsgfhj"))