👤

W Idle Python. Na jutro!!!!!

W Idle Python Na Jutro class=

Odpowiedź :

Odpowiedź:

Funkcja:

def anagram(s):

   s = sorted(s)

   tekst = "".join(s)

   return tekst

============================

Program z wykorzystaną funkcją:

def anagram(s):

   s = sorted(s)

   tekst = "".join(s)

   return tekst

tekst = input("Wpisz jakiś tekst: ")

print("Wynik:", anagram(tekst))

Wyjaśnienie:

Go Studier: Inne Pytanie