Challenge: Outputing Multiple Lines
Swipe to start coding
Display a short poem in the console. The poem consists of multiple lines, and each line should be displayed individually. Here's an example of what it should look like:
Roses are red,
Violets are blue,
Learning to code
Is fun to do!
Display output in the console, exactly as shown above.
Note
Make sure there are no extra spaces at the end of each line.
Ratkaisu
Kiitos palautteestasi!
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Mahtavaa!
Completion arvosana parantunut arvoon 1.33
Challenge: Outputing Multiple Lines
Pyyhkäise näyttääksesi valikon
Swipe to start coding
Display a short poem in the console. The poem consists of multiple lines, and each line should be displayed individually. Here's an example of what it should look like:
Roses are red,
Violets are blue,
Learning to code
Is fun to do!
Display output in the console, exactly as shown above.
Note
Make sure there are no extra spaces at the end of each line.
Ratkaisu
Kiitos palautteestasi!
single