Bij deze opdracht gaan jij een een klasgenoot (of klasgenoten) samen aan code werken
Stappenplan:
- 1 student kopieert de haiku template (regel 23 tot en met 31)
- Deze plakt student 1 haiku.py onder #plak hier de haiku functions
- doe dit 3x onder elkaar
- nu heb je 3 haiku functions
- commit & push dit (zie de workflow)
- iedereen haalt dit nu binnen (pull)
Doe nu 1 voor 1 totdat alle Haikus gevuld zijn:
- Pas een HaikuX function aan, vervang de X met 1,2 of 3
- Zoek een haiku hieronder uit en vervang 1 voor 1 de REGEL1,REGEL2,REGEL3 met de regel in het gedicht
- vervang de AUTHOR door de naam eronder
- commit & push
- iedereen haalt dit nu binnen (pull)
Klaar? run het programma
def HaikuX(): print("haiku by:","AUTHOR") print("REGEL1") print("REGEL2") print("REGEL3")
letop deze mag niet gebruikt worden!
def Haiku1(): print("haiku by:","Docent") print("Panda in the mist") print("Gently chewing on bamboo") print("Perfect breakfast time")
The wren Earns his living Noiselessly.
- Kobayahsi Issa
From time to time The clouds give rest To the moon-beholders.
- Matsuo Bashō
Over-ripe sushi, The Master Is full of regret.
- Yosa Buson
Consider me As one who loved poetry And persimmons.
- Masaoaka Shiki
In the cicada's cry No sign can foretell How soon it must die.
- Matsuo Bashō
Blowing from the west Fallen leaves gather In the east.
- Yosa Buson
Winter seclusion - Listening, that evening, To the rain in the mountain.
- Kobayashi Issa
Don’t weep, insects – Lovers, stars themselves, Must part.
- Kobayashi Issa
My life, - How much more of it remains? The night is brief.
- Masaoka Shiki
An old silent pond... A frog jumps into the pond, splash! Silence again.
- Matsuo Bashō
I kill an ant and realize my three children have been watching.
- Kato Shuson
Over the wintry forest, winds howl in rage with no leaves to blow.
- Natsume Soseki
Sparrow's child out of the way, out of the way! the stallion's coming through
- Kobayashi Issa
Toward those short trees We saw a hawk descending On a day in spring.
- Masaoka Shiki
No one travels Along this way but I, This autumn evening.
- Matsuo Bashō
In the twilight rain these brilliant-hued hibiscus - A lovely sunset
- Matsuo Bashō
First autumn morning the mirror I stare into shows my father's face.
- Murakami Kijo
The lamp once out Cool stars enter The window frame.
- Natsume Soseki