Open main menu
python-fiddle.com
Packages
Learning
AI Data Analyst
Sign In
Beginner Python Coding Challenges
Write code and run it in real-time to get instant feedback on your progress.
0 of 464 solved
Add Tuple to List
Beginner
lists
functions
ASCII Value of Character
Beginner
strings
functions
Calculate Loss Amount
Beginner
functions
conditionals
Check 30-Day Month
Beginner
functions
conditionals
Check All Characters Same
Beginner
strings
functions
loops
Check Element in Tuple
Beginner
functions
conditionals
Check Empty Dictionaries
Beginner
lists
dictionaries
Check Even Number
Beginner
functions
conditionals
Check if Dictionary is Empty
Beginner
functions
dictionaries
conditionals
Check if List is Sorted
Beginner
lists
functions
conditionals
Check List Elements
Beginner
lists
functions
conditionals
Check Month Days
Beginner
functions
conditionals
Check No Profit No Loss
Beginner
functions
conditionals
Check Single Distinct Element
Beginner
lists
functions
sets
Check Tuple Duplicates
Beginner
sets
Check Tuple for None
Beginner
functions
Check Tuple for Value
Beginner
functions
loops
conditionals
Check Unique Elements
Beginner
lists
functions
sets
Check Word Length Odd
Beginner
functions
strings
conditionals
Circle Circumference Calculation
Beginner
math
functions
Closest Smaller Number
Beginner
math
functions
conditionals
Convert Degrees to Radians
Beginner
math
functions
Convert List to Tuple
Beginner
functions
Convert String to Lowercase
Beginner
strings
Convert String to Uppercase
Beginner
strings
Count Characters in String
Beginner
strings
functions
loops
Count Digits in String
Beginner
strings
loops
conditionals
Count Element in Tuple
Beginner
loops
functions
Count Equal Numbers
Beginner
functions
conditionals
sets
Count Integer Elements
Beginner
lists
functions
loops
Count Nested Lists
Beginner
lists
functions
loops
Count Number Occurrences
Beginner
lists
loops
functions
Count Odd Numbers in a List
Beginner
loops
Count Positive Numbers
Beginner
lists
loops
conditionals
Count 'std' Occurrences
Beginner
strings
loops
functions
Count True Booleans
Beginner
lists
Count Uppercase Characters
Beginner
strings
loops
conditionals
Count Vowels in a String
Beginner
loops
Create Tuple from List and String
Beginner
lists
strings
functions
Cube Volume Calculation
Beginner
math
functions
Cylinder Volume Calculation
Beginner
math
functions
Decimal to Binary Conversion
Beginner
strings
Difference Between Max and Min
Beginner
lists
functions
math
Check Divisibility by 11
Beginner
math
functions
conditionals
Find Numbers Divisible by 3 but Not 7
Beginner
loops
Dog Age Calculator
Beginner
functions
conditionals
math
Drop the first n elements from a sequence
Beginner
lists
Drop Empty Dictionary Items
Beginner
dictionaries
Check Voting Eligibility
Beginner
conditionals
Exclude the first and last items in a list
Beginner
lists
Extract First Element of Sublists
Beginner
lists
functions
Extract Rear Elements
Beginner
lists
Filter Negative Numbers
Beginner
lists
conditionals
functions
Filter Odd Integers
Beginner
lists
functions
conditionals
Filter Odd Numbers
Beginner
functions
lists
Find Cubes in List
Beginner
functions
lists
Find Even Numbers
Beginner
functions
lists
Find First Digit
Beginner
functions
loops
math
Find Last Digit
Beginner
functions
Find Smallest Number
Beginner
lists
functions
Fix the error in Python code #10
Beginner
errors
Fix the error in Python code #11
Beginner
errors
Fix the error in Python code #12
Beginner
errors
Generate a Dictionary of Squares
Beginner
dictionaries
Generate List of Empty Dictionaries
Beginner
lists
Integer Division Quotient
Beginner
math
functions
Lateral Surface Area of a Cube
Beginner
functions
math
Double each number in a list
Beginner
loops
lists
Sort Strings in Reverse Alphabetical Order
Beginner
loops
lists
Maximum of Two Numbers
Beginner
functions
conditionals
Median Length of Trapezium
Beginner
functions
Median of Three Numbers
Beginner
functions
conditionals
math
Minimum of Three Numbers
Beginner
functions
conditionals
Minimum of Two Numbers
Beginner
functions
conditionals
Classify the given number
Beginner
conditionals
Pentagon Perimeter Calculation
Beginner
functions
math
Calculate Rectangle Area
Beginner
functions
math
Remove Odd Characters
Beginner
strings
loops
Remove Odd Index Characters
Beginner
strings
loops
conditionals
Remove Odd Numbers from List
Beginner
lists
functions
loops
conditionals
Remove Whitespaces from String
Beginner
strings
regex
strings
Replace Blank Spaces
Beginner
strings
functions
Replace Characters in String
Beginner
strings
functions
Replace Last Element with List
Beginner
lists
functions
Replace Spaces with Encoding
Beginner
strings
Sphere Surface Area
Beginner
math
functions
Sphere Volume Calculation
Beginner
math
functions
Split List into Two Parts
Beginner
lists
functions
Split a string into a list
Beginner
strings
Split String into Characters
Beginner
strings
Square Elements in List
Beginner
functions
lists
Square Perimeter Calculation
Beginner
functions
math
Reverse characters in a string
Beginner
loops
strings
String to List Split
Beginner
strings
lists
functions
String to Tuple Conversion
Beginner
strings
Sum and Average of Natural Numbers
Beginner
math
functions
loops
Sum Corresponding Elements
Beginner
lists
Sum Dictionary Values
Beginner
dictionaries
loops
functions
Sum of Largest and Smallest in Array
Beginner
lists
functions
Sum Negative Numbers
Beginner
Sum of Array
Beginner
functions
Surface Area of Cube
Beginner
math
functions
Swap First and Last Elements
Beginner
lists
functions
Swap Numbers in Tuple
Beginner
functions
Take the first n elements from a sequence
Beginner
lists
Toggle Case of String
Beginner
strings
Calculate Volume of Triangular Prism
Beginner
functions
math
Tuple Size in Bytes
Beginner
Tuple to String Conversion
Beginner
strings
Browse more
Newbie
Beginner
Intermediate
Advanced
errors
loops
lists
conditionals
dictionaries
strings
functions
comprehension
regex
math
sets
functional-programming
enumerate
functools
files
zip
CSV
recursion
matrices