λFPAI
Practice/Mobile Phone

Mobile Phone

Beginner

Create a Phone class with brand, model, and battery_level.

Methods: make_call(contact), send_message(contact, text), and charge(minutes). Simulate daily usage.

OOP Focus: Multiple methods operating on shared state.

Note: This is statement-only in the current Practice version; stdout should be empty.

Loading editor...

Output

Run or submit to see output.