W3Schools.com (2024)


Exercises

Test your Python skills with exercises from all categories:

Get Started

Syntax

Comments


Variables

Variable Names

Multiple Variable Values

Output Variable

Global Variable


Data Types

Numbers

Casting


Strings

Slicing Strings

Modify Strings

Concatenate Strings

Format Strings


Booleans

Operators


Lists

Access Lists

Change Lists

Add List Items

Remove List Items

Loop Lists

List Comprehension

Sort Lists

Copy Lists

Join Lists


Tuples

Access Tuples

Update Tuples

Unpack Tuples

Loop Tuples

Join Tuples


Sets

Access Sets

Add Set Items

Remove Set Items

Loop Sets

Join Sets


Dictionaries

Access Dictionaries

Change Dictionaries

Add Dictionary Items

Remove Dictionary Items

Loop Dictionaries

Copy Dictionaries

Nested Dictionaries


If Else

While Loops

For Loops

Functions

Lambda

Arrays

Classes

Inheritance

Iterators

Polymorphism

Scope

Modules

Dates

Math

JSON

RegEx

PIP

Try Except

User Input

String Formatting


File Handling

Open File

Write to File

Remove File

Log in to track your progress

If you haven't already, sign up to become a W3Schooler, and get points for every exercise you complete.

As a logged on W3Schools user you will have access to many features like having your own web page,track your learning progress,receive personal guided paths, andmore.

The Exercise

The exercises are a mix of "multiple choice" and "fill in the blanks" questions. There are between 3 and 9 questions in each catergory.The answer can be found in the corresponding tutorial chapter. If you're stuck, or answer wrong, you can try again or hit the "Show Answer" button to see the correct answer.

Kickstart your career

Get certified by completing the course

Get certified


W3schools Pathfinder

Track your progress - it's free!

W3Schools.com (2024)
Top Articles
What Is Gnosis & How Does It Work? Who Created GNO?
14 Examples of Formative Assessment [+FAQs] – University of San Diego - Professional & Continuing Education
Mienviro
Car of the Week | Week 75: Strong and Steady (Honda Castrol MUGEN NSX '00)
wat is het? Beschrijving met kenmerken. Kenmerken voering puhoderzhaschey materiaal. Taffett wordt nat?
How Much Money Is 800K Pennies
Indianapolis Star Obituary
Wakarusa Trick Or Treat 2023
2015 Chevy Traverse Ac Freon Capacity
Craigslist Westchester Free Stuff
Flavor Of India Hayward
Osrs Mahogany Homes Calc
Www Dermpathdiagnostics.com/Pay-Invoice
Trib Live High School Sports Network
Bmcc Dean's List
Domino's On West Florissant
Best Primordial Stones For Frost Mage
George Hamilton Deck Commercial
Adams County 911 Live Incident
Apple Store Near Me Make Appointment
Freightliner Cascadia d'occasion à vendre | tracteur routier
Bad Moms 123Movies
Berklee College Of Music Academic Calendar
Chico Ca Craigslist
Lucki White House Lyrics
How to Learn Your 7 Times Table: Tips from a Teacher
Matthew 14 Nasb
Foreign Languages Building
Saint Joseph Craigslist
Magicseaweed Bob Hall
Fivable Ap Chem
149 Capstone Project Ideas & Examples – 2024
Los Angeles Craigs List
Craiglist Quad Cities
Basil Martusevich
Two Number Lunchtime Today Come
Alcon National Driving Center Inc
White Pages Houston
Port Clinton Smokers Outlet
How Much Does Grupo Firme Charge Per Hour
Bbc Weather Milton Keynes
1977 Elo Hit Wsj Crossword
Portugal Anúncios Classificados OLX
Rosalina Katrina Anderson
Inloggen bij Fontys | Fontys
Sallisaw Bin Store
Youravon Comcom
Tsc Boots Sale
Workstation. Scentsy.com
Stream - Watch Now at Emagine Entertainment Theatres
Craigslist Cars Lima Ohio
Latest Posts
Article information

Author: Lidia Grady

Last Updated:

Views: 6376

Rating: 4.4 / 5 (65 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Lidia Grady

Birthday: 1992-01-22

Address: Suite 493 356 Dale Fall, New Wanda, RI 52485

Phone: +29914464387516

Job: Customer Engineer

Hobby: Cryptography, Writing, Dowsing, Stand-up comedy, Calligraphy, Web surfing, Ghost hunting

Introduction: My name is Lidia Grady, I am a thankful, fine, glamorous, lucky, lively, pleasant, shiny person who loves writing and wants to share my knowledge and understanding with you.