Back to tasks
A train
BeginnerPython for kids 路 Lesson 7: Text: joining and repeating
Problem Statement
Draw a train: 4 wagons [__] and a locomotive > at the end:
[__][__][__][__]>
Output Format
Exactly the text from the example.
Examples
Example 1
Output
[__][__][__][__]>