12. Python Program to Print a Console Dashboard
HardTriple quotes
Overview
This challenge tests your ability to use special escape sequences in Python to create a console-based dashboard. You'll learn how to incorporate box-drawing characters, tab escape sequences, and special symbols to enhance the visual presentation of console output.
Task
Write a Python program that prints a LivePython Dashboard with system metrics displayed inside a neatly formatted box.
Expected Output
Your program should produce the following structured dashboard:
╔═══════════════════════════════╗
║ LivePython Dashboard ║
╠═══════════════════════════════╣
║ Server Status : 🟢 Online ║
║ Active Users : 120 ║
║ CPU Usage : 78% ████████ ║
║ Memory Usage : 65% ██████ ║
║ Disk Space : 90% █████████ ║
╚═══════════════════════════════╝
Input
- No user input is required.
Output
- A console-based dashboard displaying system metrics in a visually structured format.
╔═══════════════════════════════╗
║ LivePython Dashboard ║
╠═══════════════════════════════╣
║ Server Status : 🟢 Online ║
║ Active Users : 120 ║
║ CPU Usage : 78% ████████ ║
║ Memory Usage : 65% ██████ ║
║ Disk Space : 90% █████████ ║
╚═══════════════════════════════╝
By completing this challenge, you'll improve your ability to create visually appealing and well-structured console outputs!