Implement a `ParkingGarage` class with `capacity`. Process PARK / LEAVE spot requests (index 0..capacity-1). Print final array of parked vehicle IDs (or None for empty representation).
Line 1: capacity C. Line 2: N commands (PARK id, LEAVE spot_idx).
Print space-separated vehicle IDs in spots 0..C-1 (use None for empty).
1 <= C <= 10, 1 <= N <= 20
3 2 PARK V1 PARK V2
V1 V2 None
Spots 0 and 1 fill with V1, V2; spot 2 is None.
class ParkingGarage:
pass
if __name__ == '__main__':
# Implement I/O logic here
passEmbedded systems rely on efficient low-level programming to interact directly with hardware. In this course, you will learn how to write practical Embedded C programs used in real microcontroller-based systems. Rather than focusing only on theory, this course follows a practice-driven approach. Each lesson includes hands-on coding exercises that simulate real firmware development tasks used