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
[Solved] Block Chain MCQ [Free PDF] - Objective Question Answer for Block Chain Quiz - Download Now!
Dimension: Organizational Resources - Center for States
Oldgamesshelf
Kevin Cox Picks
Encore Atlanta Cheer Competition
Emmalangevin Fanhouse Leak
Https Www E Access Att Com Myworklife
Needle Nose Peterbilt For Sale Craigslist
Fcs Teamehub
Dityship
Ukraine-Russia war: Latest updates
Bad Moms 123Movies
Wal-Mart 140 Supercenter Products
Free Online Games on CrazyGames | Play Now!
Osborn-Checkliste: Ideen finden mit System
Inter-Tech IM-2 Expander/SAMA IM01 Pro
Jalapeno Grill Ponca City Menu
Cta Bus Tracker 77
Sizewise Stat Login
Breckie Hill Mega Link
Air Quality Index Endicott Ny
Magic Seaweed Daytona
Talkstreamlive
Sister Souljah Net Worth
Albert Einstein Sdn 2023
FAQ's - KidCheck
John Deere 44 Snowblower Parts Manual
What is Software Defined Networking (SDN)? - GeeksforGeeks
100 Million Naira In Dollars
Fairwinds Shred Fest 2023
Hoofdletters voor God in de NBV21 - Bijbelblog
Ixlggusd
Sun Haven Pufferfish
Ducky Mcshweeney's Reviews
Build-A-Team: Putting together the best Cathedral basketball team
Mydocbill.com/Mr
Craigs List Palm Springs
Craigslist Freeport Illinois
Cpmc Mission Bernal Campus & Orthopedic Institute Photos
Fwpd Activity Log
1Exquisitetaste
No Boundaries Pants For Men
Amy Zais Obituary
Joblink Maine
Is Chanel West Coast Pregnant Due Date
Grace Family Church Land O Lakes
Research Tome Neltharus
Rocket Bot Royale Unblocked Games 66
Roller Znen ZN50QT-E
Craigslist Psl
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.