Lesson 3: Working with text
    1 / 10

    Lesson 3 of 12 · about 15 minutes

    Working with text

    Strings are everywhere

    Names, messages, answers to questions: most programs handle a lot of text. In Python, text is a string (str), written inside quotes.

    city = "Kathmandu"
    print(city)