Skip to main content
print seperate arguments by @Bubbler
Source Link

Python 3, 130, 128, 127, 126126, 125 bytes

from random import* d,c=1,'Grey Red Orange Yellow Green Blue Indigo Violet'.split() while d!=c[0]:d=choice(c);print(d+' duck'd,'duck') 

-1 by @ElPedro!
-1 by me
-1 by @Bubbler!

Try it online!

Python 3, 130, 128, 127, 126 bytes

from random import* d,c=1,'Grey Red Orange Yellow Green Blue Indigo Violet'.split() while d!=c[0]:d=choice(c);print(d+' duck') 

-1 by @ElPedro!
-1 by me

Try it online!

Python 3, 130, 128, 127, 126, 125 bytes

from random import* d,c=1,'Grey Red Orange Yellow Green Blue Indigo Violet'.split() while d!=c[0]:d=choice(c);print(d,'duck') 

-1 by @ElPedro!
-1 by me
-1 by @Bubbler!

Try it online!

Changed d to 1 instead of ''
Source Link

Python 3, 130, 128128, 127, 126 bytes

from random import* d,c=''c=1,'Red'Grey Red Orange Yellow Green Blue Indigo Violet Grey'Violet'.split() while d!=c[-1]=c[0]:d=choice(c);print(d+' duck') 

-1 by @ElPedro!
-1 by me

Try it online!

Python 3, 130, 128 bytes

from random import* d,c='','Red Orange Yellow Green Blue Indigo Violet Grey'.split() while d!=c[-1]:d=choice(c);print(d+' duck') 

Try it online!

Python 3, 130, 128, 127, 126 bytes

from random import* d,c=1,'Grey Red Orange Yellow Green Blue Indigo Violet'.split() while d!=c[0]:d=choice(c);print(d+' duck') 

-1 by @ElPedro!
-1 by me

Try it online!

Source Link

Python 3, 130, 128 bytes

from random import* d,c='','Red Orange Yellow Green Blue Indigo Violet Grey'.split() while d!=c[-1]:d=choice(c);print(d+' duck') 

Try it online!