Python Coding Challenges
Practice problem-solving step by step. Code, run tests, and ask the AI Tutor for hints.
4 Challenges Available
easy
Reverse a String
Write a function solution(s) that returns the string s reversed. Example solution("hello") → "oll...
easy
Count Vowels
Write a function solution(s) that returns the count of vowels (a, e, i, o, u — both upper and lower ...
easy
Check Palindrome
Write a function solution(s) that returns True if s is a palindrome (reads the same forwards and bac...
medium
Caesar Cipher
Write a function solution(text, shift) that encrypts text using a Caesar cipher with the given shift...