Coding challenges
Short problems to practise on. Write one function in JavaScript or Python, then run the tests. They run in your browser, so this is practice for you, not a marked result.
No account needed to try them. Sign in to keep a record of the ones you solve.
First steps
-
Say hello Strings, 3 testsJS Python
-
Odd or even Numbers, 5 testsJS Python
-
Scores into grades Decisions, 12 testsJS Python
-
The largest number Lists, 4 testsJS Python
-
Celsius to Fahrenheit Numbers, 5 testsJS Python
Getting going
-
Count the vowels Strings, 4 testsJS Python
-
Words backwards Strings, 3 testsJS Python
-
FizzBuzz Decisions, 6 testsJS Python
-
Add up the digits Loops, 5 testsJS Python
Stretch
-
Palindromes Strings, 4 testsJS Python
-
Count the words Strings, 4 testsJS Python
-
Hosts in a subnet Networking, 5 testsJS Python