zdalni.sp3gryfino
Wklej kod programu:
def ile(x): lista = [0 for i in range(26)] litery= [0 for i in range(26)] for znak in x: pom = ord(znak) - 65 lista[pom] += 1 for i in range(26): if lista[i] >0: litery[i]=chr(65+i)*lista[i] else: litery[i]="" return litery print(ile("ALAMAKOOOOTA"))
Uruchom program
Wynik
×
This definition is not available in English, sorry!