BuildlyBuildly
DashboardExercisesProfileHelp
Back to all

Practice: Python Fundamentals

Drills tagged with this skill, unpassed first. Pass them all to mark the skill ready for scenarios.

Module 1: Python Programming

0/3 done
Exercises (0/3)
  • 1
    Rectangle Area
    Write rectangle_area(width, height) that returns the area of a rectangle.
    5 min· 10 XP
  • 2
    Voting Age Check
    Write can_vote(age) that returns True if the person is 18 or older, else False. Write it as a single comparison — no if/else needed (that comes later).
    5 min· 10 XP
  • 3
    Seconds to Minutes
    Write seconds_to_minutes(total) that converts a total number of seconds into a string like "4m8s" — whole minutes plus leftover seconds. Use // for the integer-divided minutes and % for the leftover seconds, then stitch them into a string.
    5 min· 10 XP