fork download
  1. # operacje na napisach
  2. tekst='Ala ma kota'
  3. print(len(tekst)) #drukuje długość tekstu
  4. print(tekst[0]) # pierwszy znak
  5. #print(type(tekst)) #podaje typ zmiennej
  6. tekst2='i psa burego'
  7. print(tekst+tekst2) #Łączy teksty
Success #stdin #stdout 0.12s 14116KB
stdin
Standard input is empty
stdout
11
A
Ala ma kotai psa burego