PYTHON CORE · LESSON 44
Gather words.
Method of join · about 11 minutes
Learning with progressRead the summary for free. To save the work, log in to the account.
Type the code yourself
Dial a list and connect words through a comma with a space.
pets = ["кот", "пёс"]
print(", ".join(pets))Open the editor for class workSolve it yourself
Create words from «кот» and «пёс». Connect them via « и » with join and output the result.
The answer is hidden. Use similar examples from the lesson notes.
Opening up your homework