Challenge set
Python Functions
Practice Python functions through six hands-on Challenges covering parameters, return values, calculations, collection inputs, and reusable program logic.
Work through the collection
Challenges in This Set
- 01
Python
Personal Greeting in Python
Write a Python function that accepts a name, returns a personalized greeting, and prints the result from a call with the provided value.
50XPBeginner - 02
Python
Tip Calculator in Python
Build a Python tip calculator function that accepts a bill total and percentage, returns the tip amount, and prints the calculated result.
50XPBeginner - 03
Python
Ticket Price in Python
Use a Python function with parameters and conditional returns to calculate the correct ticket price from age and membership status.
50XPBeginner - 04
Python
Available Seats in Python
Write a Python function that accepts a list of seat states, loops through it, and returns the number of seats still available.
50XPBeginner - 05
Python
Highest Score in Python
Build a Python function that loops through a score list and returns the highest value without sorting or using built-in maximum helpers.
50XPBeginner - 06
Python
Order Total in Python
Combine functions, lists, loops, and conditionals in Python to total an order, apply a qualifying discount, and return the final price.
50XPBeginner

