Go to w3schools.com
Close the exercise
More Python Exercises
Close menu
Go to w3schools.com
Sign in to track your progress
×
Sign in

Python Exercises

Get Started3 q
Syntax3 q
Comments3 q
Variables4 q
Variable Names3 q
Multiple Variable Values3 q
Output Variable3 q
Global Variable3 q
Data Types8 q
Numbers4 q
Casting3 q
Strings4 q
Slicing Strings3 q
Modify Strings5 q
Concatenate Strings3 q
Format Strings3 q
Booleans6 q
Operators6 q
Lists4 q
Access Lists4 q
Change Lists3 q
Add List Items4 q
Remove List Items4 q
Loop Lists3 q
List Comprehension3 q
Sort Lists3 q
Copy Lists3 q
Join Lists3 q
Tuples3 q
Access Tuples4 q
Update Tuples3 q
Unpack Tuples3 q
Loop Tuples3 q
Join Tuples3 q
Sets4 q
Access Sets3 q
Add Set Items3 q
Remove Set Items4 q
Loop Sets3 q
Join Sets3 q
Dictionaries4 q
Access Dictionaries3 q
Change Dictionaries3 q
Add Dictionary Items3 q
Remove Dictionary Items4 q
Loop Dictionaries4 q
Copy Dictionaries3 q
Nested Dictionaries3 q
If Else9 q
While Loops5 q
For Loops5 q
Functions7 q
Lambda4 q
Arrays3 q
Classes7 q
Inheritance3 q
Iterators3 q
Polymorphism3 q
Scope3 q
Modules5 q
Dates4 q
Math4 q
JSON3 q
RegEx4 q
PIP3 q
Try Except3 q
User Input3 q
String Formatting4 q
File Handling3 q
Open File3 q
Write to File3 q
Remove File3 q


by w3schools.com



 





Wrong Answer!













Completed

You have already completed these exercises!

Do you want to take them again?










Congratulations!


You completed the Python Casting Exercises from W3Schools.com



Share on: