Login and get codingYou start with 1,001 pennies lined up on a table. Starting at the beginning each time, first you replace every other coin with a nickel. Next, you replace every third coin with a dime. Finally, you replace every fourth coin with a quarter.
Learner's Task
Write a function that returns a sequence of all the coins on the table. Use the labels
PENNY
,NICKEL
,DIME
, andQUARTER
to represent each type of coin.Keep calm and code in Python!