Säilytetäänkö automaattisesti tallennettu tehtävä ?
A string is a collection of characters inside quotation marks., True, False, Python string indexing starts from 1., True, False, The len() function returns the length of a string., True, False, The index -1 returns the last character of a string., True, False, The upper() function converts letters to lowercase., True, False, Which function finds the length of a string?, upper(), len(), append(), remove(), What is the output? text = "hello" print(text[0]), h, e, l, o, What does text[-1] return?, The first character, The second character, The last character, The length of the text, Which function converts a string into a list of characters?, str(), list(), len(), upper(), Which function adds an element to the end of a list?, remove(), delete(), append(), add()

Python strings & lists

Visuaalinen tyyli

Näytä kaikki

Toimintaympäristöt

Tulostaulu

Vaihda mallia