GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Tutorials
  • My W3Schools
  • W3Schools app iOS & Android NEW
  • Spaces
  • Get Certified
  • Plus
  • Campus (previously Academy)
  • Logout
  • 
  • 
  • 
  • 
  • Sign in
  • HTML

This view

  • Original page
  • New address

GeezerVison is showing www.w3schools.com — W3Schools Practice - Coding Challenges

Menu
Search field
×
See More  
NEW W3Schools app iOS & Android Start the adventure
Sign In
★ +1 Spaces Upgrade Paid Courses Spaces Upgrade Paid Courses
   ❮   
     ❯   
HTML CSS JAVASCRIPT SQL PYTHON JAVA PHP C C++ C# AWS W3.CSS HOW TO BOOTSTRAP REACT MYSQL JQUERY EXCEL XML DJANGO NUMPY PANDAS NODEJS DSA TYPESCRIPT ANGULAR ANGULARJS GIT POSTGRESQL MONGODB ASP AI R GO KOTLIN SWIFT SASS VUE GEN AI SCIPY CYBERSECURITY DATA SCIENCE INTRO TO PROGRAMMING HTML & CSS BASH RUST TOOLS

Practice

Home Python Java C C++ C# Node.js TypeScript PHP Kotlin Swift Rust R

Practice Coding Problems


Improve your skills by solving real coding problems.

Write code, submit, and get instant feedback.

131 practice problems per language · 12 languages

Weekly Problem

Count a Character

Count how often one character appears in a word.

Easy 20 XP

3 days left

WEEKLY031
first = input()
second = input()

# Count the character and print the total

Subscribe to Weekly Practice Problem

Get the latest coding practice problem delivered to your inbox every week.

Subscribe

Select a Language

Python

General-purpose, beginner-friendly language.

131 practice problems »

Java

Object-oriented, widely used in enterprise.

131 practice problems »

C

Low-level systems programming language.

131 practice problems »

C++

Powerful language for performance-critical apps.

131 practice problems »

C#

Modern language for .NET and game development.

131 practice problems »

PHP

Server-side scripting for web development.

131 practice problems »

Kotlin

Modern language for Android and JVM.

131 practice problems »

JavaScript

The language of the web. Runs in Node.js.

131 practice problems »

TypeScript

Typed JavaScript for larger applications.

131 practice problems »

Swift

Apple's language for iOS and macOS apps.

131 practice problems »

Rust

Safe, fast systems programming language.

131 practice problems »

R

Statistical computing and data analysis.

131 practice problems »

How It Works

Each challenge gives you a problem description and starter code in an online editor.

Your program reads input and prints the correct output. When you submit, your code is tested against multiple hidden test cases with different inputs.

Your score is the percentage of tests passed. Pass all tests to earn full XP. Partial credit is given for partially correct solutions.



★ +1
Sign in to track progress
W3Schools Full Access - your next career move

REMOVE ADS

This way to the W3Schools Adventure app
Learn more about Adventure Mode›

Free account

Track your progress

XP earned 0 Day streak 0 Spaces 0 League —
Sign in to track progress

New

Learn in Adventure Mode W3Schools Adventure App

Coding fundamentals as bite-sized lessons and challenges.

PLUS
SPACES
GET CERTIFIED
FOR TEACHERS
PRACTICE
CONTACT US
×

Contact Sales

If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
[email protected]

Report Error

If you want to report an error, or if you want to make a suggestion, send us an e-mail:
[email protected]

Top Tutorials
HTML Tutorial
CSS Tutorial
JavaScript Tutorial
How To Tutorial
SQL Tutorial
Python Tutorial
W3.CSS Tutorial
Bootstrap Tutorial
PHP Tutorial
Java Tutorial
C++ Tutorial
jQuery Tutorial
Top References
HTML Reference
CSS Reference
JavaScript Reference
SQL Reference
Python Reference
W3.CSS Reference
Bootstrap Reference
PHP Reference
HTML Colors
Java Reference
AngularJS Reference
jQuery Reference
Top Examples
HTML Examples
CSS Examples
JavaScript Examples
How To Examples
SQL Examples
Python Examples
W3.CSS Examples
Bootstrap Examples
PHP Examples
Java Examples
XML Examples
jQuery Examples
Get Certified
HTML Certificate
CSS Certificate
JavaScript Certificate
Front End Certificate
SQL Certificate
Python Certificate
PHP Certificate
jQuery Certificate
Java Certificate
C++ Certificate
C# Certificate
XML Certificate
   
FORUM ABOUT CAMPUS
W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning.
Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness
of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookies and privacy policy.

Copyright 1999-2026 by Refsnes Data. All Rights Reserved. W3Schools is Powered by W3.CSS.









You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.