This Website Uses Cookies. Cookies are small text files held on your computer. Cookies will never contain any personally identifiable information. You can delete and block cookies but parts of our site may not work without them. We use cookies in order to deliver the best possible service to you and to provide a secure and effective site service for users. By using this site, you agree that we may store and access cookies on your device. To find out more about how we use cookies and also how you can change your cookie settings, click here.

Hide this message

Code Week 2018

Print page

Header: How does coding fit into your life?

Whether you are a student, teacher, or someone working in another profession, computing is changing things.

We think it’s important that everyone has a chance to learn the basics of coding. That’s why ECDL Foundation is proud to support EU Code Week 2018.

Do you want to try your hand at coding? Why not see if you can figure out how our special Code Week Python script works?

Tip: If you don’t already have Python on your computer, follow the instructions on python.org to download and install it.

# ECDL Foundation is proud to support EU Code Week 2018!

from datetime import date

startDate = date(2018,10,6)
endDate = date(2018,10,21)
currentDate = date.today()

if currentDate >= startDate and currentDate < endDate:

            print ("It's EU Code Week!")
            print ("Find out how ECDL boosts coding skills at")
            print ("ecdl.org/computing")

elif currentDate < startDate:

            countdown = (startDate - currentDate).days

            if countdown > 1:

                        print ("There are " + str(countdown) + " days until Code Week 2018!")
                        print ("Do you have coding skills?")
                        print ("ecdl.org/computing")

            else:

                        print ("There is just one day until Code Week 2018!")

elif currentDate > endDate:

            print ("EU Code Week 2018 is over,")
            print ("but that doesn' mean you can't learn to code!")
            print ("ecdl.org/computing")

Ready to take the plunge and learn to code? Get the basics right with the ECDL Computing module.

Read our blog post on supporting creativity in the digital world through computing.