(copy) Christmas Coding Fun

by James Abela (@eslweb)

Cover

Loading...
Outmanoeuvre Scrooge
Scrooge is a terrible employer! You are paid by the line of code and you need cash for Christmas gifts, so how are you going to get as much as possible? You've been asked to write one measly line saying, "Bah Humbug!". How can you do it in as many lines as possible? Every line HAS to do something, no comments. Even Scrooge knows that much about coding.

Hint: You might want to get Python to write Python!
Mr Abela kindly provided you with a very helpful program to countdown to the most important day of the year... His birthday! However you might want to change the date to something else such as new year.
import datetime
MrABirthday = datetime.date(2021, 8, 14) - datetime.date.today()
MrABirthday = str(MrABirthday).split(",")
print(MrABirthday[0])
Screentime Allocation
Your household has managed to score a PS5, but only 1 and so now the children always argue as to how much time they get. Make a timer that givens an equal amount of time for each sibling.
Christmas Quiz
Everyone loves a Christmas quiz! Can you make a quiz that gives out seasonal questions or a topic of your choice?
Super Hard Challenge: Create a quiz that has a question editor which saves the questions.
Using Turtle in Repl.it
PrevNext